duration property

  1. @override
Stream<Duration> get duration

Emits the total duration of the current media whenever it becomes known or changes.

当前媒体总时长确定或发生变化时推送最新值。

Implementation

@override
Stream<Duration> get duration => _duration.stream;