delete method

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

Makes a DELETE request with automatic retries. The url can be either a String or a Uri object.

Implementation

Future<http.Response> delete(
  Object url, {
  Map<String, String>? headers,
}) async {
  return _retry(() => _client.delete(url, headers: headers));
}