MemoryCacheSettings constructor

const MemoryCacheSettings({
  1. MemoryGarbageCollectorSettings gcSettings = const MemoryEagerGcSettings(),
  2. bool mergeUnsentWrites = false,
})

Creates the settings, by default with eager garbage collection and without merging writes.

Implementation

const MemoryCacheSettings({
  this.gcSettings = const MemoryEagerGcSettings(),
  this.mergeUnsentWrites = false,
});