duration property Null safety

Duration? duration

The duration of the current audio or null if unknown.

Implementation

Duration? get duration => _playbackEvent.duration;