getConvertedAmount static method
Implementation
static Future<Response?> getConvertedAmount(url) async {
try {
//cal api
final response = await get(Uri.parse(url));
// get response
return response;
} catch (e) {
// catch er
if (kDebugMode) {
print("fetch get err $e");
}
}
return null;
}