toRequestCache method

RequestCache toRequestCache()

Implementation

RequestCache toRequestCache() => switch (this) {
      WebConfigRequestCache.byDefault => RequestCache.byDefault,
      WebConfigRequestCache.noStore => RequestCache.noStore,
      WebConfigRequestCache.reload => RequestCache.reload,
      WebConfigRequestCache.noCache => RequestCache.noCache,
      WebConfigRequestCache.forceCache => RequestCache.forceCache,
      WebConfigRequestCache.onlyIfCached => RequestCache.onlyIfCached,
    };