delete function
Sends an HTTP DELETE request with the given headers to the given URL.
Implementation
Future<http_request.Response> delete(String url,
{Map<String, String>? headers, Object? body, Encoding? encoding}) async {
return await http_request.post(Uri.parse(url),
headers: headers, body: body, encoding: encoding);
}