duration property

  1. @override
Future<double> duration

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

Implementation

@override
Future<double> get duration async => _invokeMethod<double>(Methods.duration);