delete static method

Future<Response> delete(
  1. String path, {
  2. bool showLoading = false,
  3. DioMethod method = DioMethod.delete,
  4. Map<String, dynamic>? params,
  5. dynamic data,
  6. CancelToken? cancelToken,
  7. 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);
}