delete static method
Future<Response>
delete(
- String path, {
- bool showLoading = false,
- DioMethod method = DioMethod.delete,
- Map<String, dynamic>? params,
- dynamic data,
- CancelToken? cancelToken,
- Options? options,
})
Implementation
static Future<Response> delete(String path,
{bool showLoading = false,
DioMethod method = DioMethod.delete,
Map<String, dynamic>? params,
data,
CancelToken? cancelToken,
Options? options}) {
return HttpUtils().request(path,
showLoading: showLoading, method: method, params: params, data: data, options: options, cancelToken: cancelToken);
}