startEvent constant Null safety

EventStreamProvider<Event> const startEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider startEvent =
    const EventStreamProvider('start')