KeyValueCache<K, V> constructor

KeyValueCache<K, V>({
  1. Duration? maxAge,
  2. Future<V> provider(
    1. K key
    )?,
})

Implementation

KeyValueCache({
  this.maxAge,
  this.provider,
});