SimpleCache<K, V> constructor

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

Implementation

SimpleCache({required Storage<K, V> storage, OnEvict<K, V>? onEvict}) : super(storage, onEvict: onEvict);