delete method Null safety
Returns a Response
object with the response from the server.
If the request fails, the Response
object will have a null Response.body
Example:
final response = await "https://example.com/api/v1/users/1".delete();
Implementation
Future<Response> delete({Object? body, Map<String, dynamic>? headers}) async {
return await RequestHandler(this, headers: headers, body: body).delete();
}