abortEvent constant Null safety

EventStreamProvider<ProgressEvent> const abortEvent

Static factory designed to expose abort events to event handlers that are not necessarily instances of FileReader.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<ProgressEvent> abortEvent =
    const EventStreamProvider<ProgressEvent>('abort')