CacheInterceptor constructor

CacheInterceptor(
  1. CacheStore store, {
  2. DateTime clock()?,
  3. int maxEntryBytes = 1024 * 1024,
})

Implementation

CacheInterceptor(this.store,
    {DateTime Function()? clock, this.maxEntryBytes = 1024 * 1024})
    : _clock = clock ?? DateTime.now;