patch method

Future<Response> patch(
  1. dynamic url, {
  2. Map<String, String>? headers,
  3. Object? body,
  4. Encoding? encoding,
})

Implementation

Future<Response> patch(url,
    {Map<String, String>? headers, Object? body, Encoding? encoding}) async {
  return _withClient((client) =>
      client.patch(url, headers: headers, body: body, encoding: encoding));
}