patchRequestAuth static method
Implementation
static Future<dynamic> patchRequestAuth(url, body) async {
var networkStatus = await connectionChecker();
if (!networkStatus) {
throw ("No internet connection");
}
var response = await http.patch(Uri.parse(url),
body: jsonEncode(body),
headers: await ApiHelpers().getNormalHeader());
return response;
}