audioStartEvent constant Null safety

EventStreamProvider<Event> const audioStartEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> audioStartEvent =
    const EventStreamProvider<Event>('audiostart');