duration property

  1. @override
Future<double> get duration

The duration of the active Source in seconds. Will be double.infinity for live streams.

Implementation

@override
Future<double> get duration async => _playerPlatformInterface.duration;