head static method
Future<Response>
head(
- String path, {
- bool showLoading = false,
- DioMethod method = DioMethod.head,
- Map<String, dynamic>? params,
- dynamic data,
- CancelToken? cancelToken,
- 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);
}