delete method
Sends an HTTP DELETE request with the given headers to the given URL.
For more fine-grained control over the request, use send instead.
Implementation
@override
Future<http.Response> delete(url, {Map<String, String>? headers, Object? body, Encoding? encoding}) async {
await _mayRefreshToken(headers);
return _httpClient.delete(url, headers: _getCustomHeaders(headers));
}