CacheConfig constructor

const CacheConfig({
  1. required IwsCache cache,
  2. Duration? ttl,
  3. bool staleWhileRevalidate = false,
  4. bool forceRefresh = false,
})

Implementation

const CacheConfig({
  required this.cache,
  this.ttl,
  this.staleWhileRevalidate = false,
  this.forceRefresh = false,
});