get<T> method
Future<Response<T>>
get<
T>( - String path, {
- Map<String, dynamic>? queryParameters,
- Options? options,
- CancelToken? cancelToken,
- ProgressCallback? onReceiveProgress,
})
Implementation
Future<Response<T>> get<T>(
String path, {
Map<String, dynamic>? queryParameters,
Options? options,
CancelToken? cancelToken,
ProgressCallback? onReceiveProgress,
}) async {
Response<T> response = await _dio.get(path,
queryParameters: queryParameters,
options: options,
cancelToken: cancelToken,
onReceiveProgress: onReceiveProgress);
return response;
}