playerDataMessageStream property

  1. @override
Stream<PlayerDataMessage> get playerDataMessageStream
override

A broadcast stream of data updates.

Implementation

@override
Stream<PlayerDataMessage> get playerDataMessageStream =>
    EventChannel('com.ryanheise.just_audio.data.$id')
        .receiveBroadcastStream()
        .map((dynamic map) =>
            PlayerDataMessage.fromMap(map as Map<dynamic, dynamic>));