CacheConfig constructor

const CacheConfig({
  1. int maxSizeMB = 50,
  2. Duration defaultExpiry = const Duration(hours: 1),
  3. bool persistToDisk = true,
  4. int maxEntries = 1000,
})

Implementation

const CacheConfig({
  this.maxSizeMB = 50,
  this.defaultExpiry = const Duration(hours: 1),
  this.persistToDisk = true,
  this.maxEntries = 1000,
});