Request.patch constructor

Request.patch(
  1. Uri uri, {
  2. Map<String, Object>? headers,
  3. Object? body,
  4. Encoding? encoding,
})

An HTTP PATCH request.

Implementation

Request.patch(
  Uri uri, {
  Map<String, Object>? headers,
  Object? body,
  Encoding? encoding,
}) : this(
        HttpMethod.patch.value,
        uri,
        headers: headers,
        body: body,
        encoding: encoding,
      );