progressEvent constant Null safety

EventStreamProvider<ProgressEvent> const progressEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider progressEvent =
    const EventStreamProvider('progress')