CacheBuilder<T extends CacheStore> typedef Null safety

CacheBuilder<T extends CacheStore> = DefaultCache Function(T store, {CacheLoader cacheLoader, Clock clock, EvictionPolicy evictionPolicy, ExpiryPolicy expiryPolicy, int maxEntries, String name, KeySampler sampler})

Cache builder function

Implementation

typedef CacheBuilder<T extends CacheStore> = DefaultCache Function(T store,
    {String name,
    ExpiryPolicy expiryPolicy,
    KeySampler sampler,
    EvictionPolicy evictionPolicy,
    int maxEntries,
    CacheLoader cacheLoader,
    Clock clock});