playbackEventMessageStream property
A broadcast stream of playback events.
Implementation
@override
Stream<PlaybackEventMessage> get playbackEventMessageStream =>
EventChannel('com.ryanheise.just_audio.events.$id')
.receiveBroadcastStream()
.cast<Map<dynamic, dynamic>>()
.map((map) => PlaybackEventMessage.fromMap(map));