head static method

Future<Response> head(
  1. String path, {
  2. bool showLoading = false,
  3. DioMethod method = DioMethod.head,
  4. Map<String, dynamic>? params,
  5. dynamic data,
  6. CancelToken? cancelToken,
  7. Options? options,
})

Implementation

static Future<Response> head(String path,
    {bool showLoading = false,
    DioMethod method = DioMethod.head,
    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);
}