delete abstract method
Sends an HTTP DELETE request to remove a resource.
url: The target URI.headers: Optional HTTP headers.body: Optional payload (some APIs require a body for deletion).encoding: The encoding to use for the body.options: Extra configuration specific to the underlying client implementation.
Implementation
Future<RequestResponse<OriginalResponse>> delete(
Uri url, {
Map<String, String>? headers,
Object? body,
Encoding? encoding,
Object? options,
});