patch abstract method

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

Simulates a PATCH request

url The API route (should include the resource ID) body The partial update data headers Optional headers for the request

Returns a Future<Response>, representing the result of the simulated PATCH operation.

Implementation

Future<Response> patch(Uri url, {Map<String, String>? headers, Object? body});