DataCacheOptions constructor

const DataCacheOptions({
  1. Duration? maxAge,
  2. bool compress = true,
  3. Map<String, dynamic> additionalMetadata = const {},
  4. String storageType = 'both',
})

Creates new DataCacheOptions

Implementation

const DataCacheOptions({
  this.maxAge,
  this.compress = true,
  this.additionalMetadata = const {},
  this.storageType = 'both',
});