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 startEvent =
    const EventStreamProvider('start')