put method
Makes a PUT request with automatic retries.
The url can be either a String or a Uri object.
Implementation
Future<http.Response> put(
Object url, {
Map<String, String>? headers,
Object? body,
Encoding? encoding,
}) async {
return _retry(() => _client.put(
url,
headers: headers,
body: body,
encoding: encoding,
));
}