getCurrencies function
- BuildContext context
Implementation
Future<Map<String, dynamic>> getCurrencies(
BuildContext context,
) async {
final Map<String, dynamic> response = await getCurrenciesService(
context,
).catchError(
(error) {
return <String, dynamic>{
'generic_error': error,
};
},
);
return response;
}