speechEndEvent constant Null safety

EventStreamProvider<Event> const speechEndEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider speechEndEvent =
    const EventStreamProvider('speechend')