delete method
Performs a DELETE request to the specified url
, adding the authorization token.
If no token already exists, or if it is expired, a new one is requested.
Implementation
Future<http.Response> delete(String url,
{Map<String, String>? headers, http.Client? httpClient}) async {
return _request('DELETE', url, headers: headers, httpClient: httpClient);
}