delete library
Functions
-
delete(
Uri url) → Future< Map< String, dynamic> > - This function sends a DELETE request to the specified URL and returns the response as a JSON object. If the response is null, it returns an error object with "error: true" field. Otherwise, it returns an object with "error: false" field and the response data.