getUri<T> method Null safety

Future<Response<T>> getUri<T>(
  1. Uri uri,
  2. {Options? options,
  3. CancelToken? cancelToken,
  4. ProgressCallback? onReceiveProgress}
)

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

Implementation

Future<Response<T>> getUri<T>(
  Uri uri, {
  Options? options,
  CancelToken? cancelToken,
  ProgressCallback? onReceiveProgress,
});