progressEvent constant Null safety

EventStreamProvider<ProgressEvent> const progressEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<ProgressEvent> progressEvent =
    const EventStreamProvider<ProgressEvent>('progress')