speechStartEvent constant Null safety

EventStreamProvider<Event> const speechStartEvent

Static factory designed to expose speechstart events to event handlers that are not necessarily instances of SpeechRecognition.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> speechStartEvent =
    const EventStreamProvider<Event>('speechstart')