loadEvent constant Null safety

EventStreamProvider<ProgressEvent> const loadEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<ProgressEvent> loadEvent =
    const EventStreamProvider<ProgressEvent>('load');