cachedEvent constant Null safety

EventStreamProvider<Event> const cachedEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider cachedEvent =
    const EventStreamProvider('cached')