RemovedEntryEvent constructor

RemovedEntryEvent(
  1. Cache source,
  2. CacheEntry entry,
  3. {EntryEventType? type}
)

Builds a RemovedEntryEvent

  • source: The cache that originated the event
  • entry: The removed entry
  • type: The event type

Implementation

RemovedEntryEvent(Cache source, this.entry, {EntryEventType? type})
    : super(source, type ?? EntryEventType.removed);