doPost function
Implementation
doPost(String url, String body, f(http.Response response)) async {
await myClient(url)
.post(Uri.parse(url), headers: headers, body: body)
.then((res) => dealResponse(response: res, f: f, url: url));
}
doPost(String url, String body, f(http.Response response)) async {
await myClient(url)
.post(Uri.parse(url), headers: headers, body: body)
.then((res) => dealResponse(response: res, f: f, url: url));
}