getAndCache<T> abstract method

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

Handy method to make http GET request and cache reponse data

Implementation

Future<Response<T>> getAndCache<T>(
  String path, {
  Map<String, dynamic>? queryParameters,
  Options? options,
  CancelToken? cancelToken,
  ProgressCallback? onReceiveProgress,
});