resultEvent constant Null safety

EventStreamProvider<SpeechRecognitionEvent> const resultEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<SpeechRecognitionEvent> resultEvent =
    const EventStreamProvider<SpeechRecognitionEvent>('result')