delete method

Future<Response?> delete(
  1. String url, {
  2. Map<String, dynamic>? headers,
  3. Map<String, dynamic>? body,
  4. Options? options,
})

Implementation

Future<Response?> delete(String url,
    {Map<String, dynamic>? headers,
    Map<String, dynamic>? body,
    Options? options}) {
  return request(
      url: url,
      method: 'DELETE',
      body: body,
      headers: headers,
      options: options);
}