deleteResponse method

Future<Response> deleteResponse(
  1. Uri uri, {
  2. Map<String, String>? headers,
})

Returns the response of the given url after a DELETE request. This process is async, thus the response is returned as a future response instance.

Implementation

Future<http.Response> deleteResponse(
  Uri uri, {
  Map<String, String>? headers,
}) async =>
    _client.delete(uri, headers: headers);