delete abstract method

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

Simulates a DELETE request

url The API route (should include the resource ID) headers Optional headers for the request

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

Implementation

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