Config constructor

const Config({
  1. String dbKey = 'data_cache',
  2. bool useMemCache = true,
  3. bool useNtpDateTime = false,
  4. bool cleanupOnInit = false,
  5. Duration? cleanupInterval,
  6. Duration? stalePeriod,
  7. int? maxCacheSize,
})

Create a new instance of Config.

Implementation

const Config({
  this.dbKey = 'data_cache',
  this.useMemCache = true,
  this.useNtpDateTime = false,
  this.cleanupOnInit = false,
  this.cleanupInterval,
  this.stalePeriod,
  this.maxCacheSize,
});