getCurrentTokenValue method
Implementation
Future<double> getCurrentTokenValue(tokenType, currency) async {
NetworkResponse response =
await _api.getCurrentTokenValue(tokenType, currency: currency);
return response.data ?? 0.0;
}
Future<double> getCurrentTokenValue(tokenType, currency) async {
NetworkResponse response =
await _api.getCurrentTokenValue(tokenType, currency: currency);
return response.data ?? 0.0;
}