Cache constructor

Cache({
  1. String keyPrefix = 'indexedCache',
  2. dynamic saveWaitAgainSeconds = 2,
  3. dynamic saveWaitSeconds = 2,
})

Implementation

Cache({
  this.keyPrefix = 'indexedCache',
  saveWaitAgainSeconds = 2,
  saveWaitSeconds = 2,
}) : super(
        key: keyPrefix,
        saveWaitAgainSeconds: saveWaitAgainSeconds,
        saveWaitSeconds: saveWaitSeconds,
      ) {
  _indexLoad();
}