CacheExtension extension
Extension over Store allowing the creation of multiple caches from the same store
- on
Methods
-
cache<
T> ({CacheManager? manager, String? name, dynamic fromEncodable(Map< String, dynamic> )?, KeySampler? sampler, EvictionPolicy? evictionPolicy, int? maxEntries, ExpiryPolicy? expiryPolicy, CacheLoader<T> ? cacheLoader, EventListenerMode? eventListenerMode, bool? statsEnabled, CacheStats? stats}) → Future<Cache< T> > - Creates a new Cache backed by a Store