CacheEntryRemovedEvent<T> constructor

CacheEntryRemovedEvent<T>(
  1. Cache<T> source,
  2. CacheInfo entry, {
  3. CacheEventType? type,
})

Builds a CacheEntryRemovedEvent

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

Implementation

CacheEntryRemovedEvent(Cache<T> source, this.entry, {CacheEventType? type})
    : super(source, type ?? CacheEventType.removed);