soundEndEvent constant Null safety

EventStreamProvider<Event> const soundEndEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> soundEndEvent =
    const EventStreamProvider<Event>('soundend');