get<T> method
Future<Response<T> >
get<T>(
- String path, {
- Map<
String, dynamic> ? queryParameters, - Object? data,
- Options? options,
- CancelToken? cancelToken,
- ProgressCallback? onReceiveProgress,
override
Convenience method to make an HTTP GET request.
Implementation
@override
Future<Response<T>> get<T>(
String path, {
Map<String, dynamic>? queryParameters,
Object? data,
Options? options,
CancelToken? cancelToken,
ProgressCallback? onReceiveProgress,
}) {
return request<T>(
path,
data: data,
queryParameters: queryParameters,
options: checkOptions('GET', options),
onReceiveProgress: onReceiveProgress,
cancelToken: cancelToken,
);
}