delete method
void
delete(})
DELETE request to API
Perform a DELETE request to API with specific
path
. You can send the headers
for request.
Implementation
void delete(
String path, {
Map<String, String>? headers,
bool withLoading = true,
dynamic Function(Map<String, dynamic>)? fromJson,
}) =>
add(RestEvent.delete(path, headers: headers, withLoading: withLoading));