cache library Null safety

Collection of different caching strategies and their expiry policy.

Classes

Cache<K, V>
DelegateCache<K, V>
A cache that delegates to another one.

Typedefs

Loader<K, V> = FutureOr<V> Function(K key)
Function asynchronously loading missing cache values.