CachedWebRequest constructor

CachedWebRequest({
  1. required String url,
  2. required AbstractWebCacheType webCacheType,
  3. Map<String, String>? headers,
  4. Future<Response> responseFunction(
    1. Uri uri, {
    2. Map<String, String>? headers,
    }) = get,
})

Implementation

CachedWebRequest({required this.url, required this.webCacheType, this.headers, this.responseFunction = get});