onCurrentDurationChanged property

Stream<int> get onCurrentDurationChanged

A Stream to get current duration. This stream will emit duration in milliseconds every 200 milliseconds.

Implementation

Stream<int> get onCurrentDurationChanged =>
    PlatformStreams.instance.onDurationChanged.filter(playerKey);