Expirer constructor

Expirer({
  1. required ICore core,
  2. Logger? logger,
})

Implementation

Expirer({required this.core, Logger? logger})
    : logger = logger ?? Logger(),
      events = EventEmitter(),
      expirations = {},
      _cached = [],
      _initialized = false;