requestUri<T> method Null safety

Future<Response<T>> requestUri<T>(
  1. Uri uri,
  2. {dynamic data,
  3. CancelToken? cancelToken,
  4. Options? options,
  5. ProgressCallback? onSendProgress,
  6. ProgressCallback? onReceiveProgress}
)

Make http request with options.

uri The uri. data The request data options The request options.

Implementation

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