headUri<T> method Null safety

Future<Response<T>> headUri<T>(
  1. Uri uri,
  2. {dynamic data,
  3. Options? options,
  4. CancelToken? cancelToken}
)

Handy method to make http HEAD request, which is a alias of dio.fetch(RequestOptions).

Implementation

Future<Response<T>> headUri<T>(
  Uri uri, {
  data,
  Options? options,
  CancelToken? cancelToken,
});