getDuration method

  1. @override
Duration? getDuration()
override

Returns the duration of the current player item or null if unknown.

Implementation

@override
Duration? getDuration() => _currentAudioSourcePlayer?.duration;