put static method
Implementation
static Future<http.Response> put(Uri uri,
{Map<String, Object> body = const <String, Object>{},
String token = '',
http.Client? client}) {
if (client == null) {
client = http.Client();
}
final headers = _addAuthToken(_sendHeaders, token);
final res = client.put(uri, body: jsonEncode(body), headers: headers);
client.close();
return res;
}