patch method

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

Implementation

Future<Response> patch(url,
    {Map<String, String> headers, body, Encoding encoding}) {
  RequestData data = _sendInterception(
      method: Method.PATCH,
      headers: headers,
      url: url,
      body: body,
      encoding: encoding);
  return _withClient((client) => client.patch(data.url,
      headers: data.headers, body: data.body, encoding: data.encoding));
}