get<T> method

Future<Response<T>> get<T>(
  1. String path, {
  2. Map<String, dynamic>? queryParameters,
  3. Options? options,
  4. CancelToken? cancelToken,
  5. ProgressCallback? onReceiveProgress,
})

Implementation

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