putRequestNoAuth static method
Implementation
static Future<dynamic> putRequestNoAuth(url, body) async {
var networkStatus = await connectionChecker();
if (!networkStatus) {
throw ("No internet connection");
}
var response = await http
.put(Uri.parse(url), body: jsonEncode(body), headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
});
return response;
}