endEvent constant Null safety

EventStreamProvider<Event> const endEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> endEvent =
    const EventStreamProvider<Event>('end')