progressEvent constant Null safety

EventStreamProvider<ProgressEvent> const progressEvent

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

See EventStreamProvider for usage information.

Implementation

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