obsoleteEvent constant Null safety

EventStreamProvider<Event> const obsoleteEvent

Static factory designed to expose obsolete events to event handlers that are not necessarily instances of ApplicationCache.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> obsoleteEvent =
    const EventStreamProvider<Event>('obsolete')