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