onCurrentDurationChanged property

Stream<int> get onCurrentDurationChanged

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

Implementation

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