startEvent constant Null safety

EventStreamProvider<SpeechSynthesisEvent> const startEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<SpeechSynthesisEvent> startEvent =
    const EventStreamProvider<SpeechSynthesisEvent>('start')