stash_memory library
Provides a in-memory implementation of the Stash caching API for Dart
Classes
- MemoryStore
- In-memory Map backed implementation of a CacheStore
Functions
-
newMemoryCache(
{String? cacheName, ExpiryPolicy? expiryPolicy, KeySampler? sampler, EvictionPolicy? evictionPolicy, int? maxEntries, CacheLoader? cacheLoader}) → Cache - Creates a new Cache backed by a MemoryStore