getUri<T> method
Future<Response<T> >
getUri<T>(
- Uri uri, {
- Object? data,
- Options? options,
- CancelToken? cancelToken,
- ProgressCallback? onReceiveProgress,
override
Convenience method to make an HTTP GET request with Uri.
Implementation
@override
Future<Response<T>> getUri<T>(
Uri uri, {
Object? data,
Options? options,
CancelToken? cancelToken,
ProgressCallback? onReceiveProgress,
}) {
return requestUri<T>(
uri,
data: data,
options: checkOptions('GET', options),
onReceiveProgress: onReceiveProgress,
cancelToken: cancelToken,
);
}