getMoney static method

Future<Response?> getMoney(
  1. dynamic url
)

Implementation

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