CacheOptions constructor

const CacheOptions({
  1. int? maxAgeSeconds,
  2. List<CacheLevel> levels = const [CacheLevel.memory, CacheLevel.disk],
  3. bool compress = true,
  4. Map<String, dynamic> additionalMetadata = const {},
})

Creates new CacheOptions

Implementation

const CacheOptions({
  this.maxAgeSeconds,
  this.levels = const [CacheLevel.memory, CacheLevel.disk],
  this.compress = true,
  this.additionalMetadata = const {},
});