CacheOptions constructor

const CacheOptions({
  1. String generateCacheKey(
    1. RequestOptions options,
    2. String key
    )?,
  2. bool useAuthorization = true,
  3. bool useSecureStorage = false,
  4. bool resetOnRestart = false,
  5. Duration cacheLifetimeDuration = const Duration(days: 10),
})

Implementation

const CacheOptions({
  this.generateCacheKey,
  this.useAuthorization = true,
  this.useSecureStorage = false,
  this.resetOnRestart = false,
  this.cacheLifetimeDuration = const Duration(days: 10),
});