Cache<K, V> constructor

Cache<K, V>(
  1. Storage<K, V> storage, {
  2. OnEvict<K, V>? onEvict,
})

Implementation

Cache(Storage<K, V> storage, {this.onEvict}) : _internalStorage = storage,  _syncValueReloading = true;