doGet function

dynamic doGet(
  1. String url,
  2. dynamic f(
    1. Response response
    )
)

Implementation

doGet(String url, f(http.Response response)) async {
  await myClient(url).get(Uri.parse(url), headers: headers).then((res) => dealResponse(response: res, f: f, url: url));
}