events property
Stream of transcript, error, and status events for the lifetime of the plugin. A single broadcast stream is shared across listen sessions.
Implementation
@override
Stream<LocalVoiceEvent> get events {
return _events ??= eventChannel
.receiveBroadcastStream()
.map(_decodeEvent)
.where((event) => event != null)
.cast<LocalVoiceEvent>();
}