endEvent constant Null safety

EventStreamProvider<SpeechSynthesisEvent> const endEvent

Static factory designed to expose end events to event handlers that are not necessarily instances of SpeechSynthesisUtterance.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<SpeechSynthesisEvent> endEvent =
    const EventStreamProvider<SpeechSynthesisEvent>('end')