getBufferDuration method
Get the buffered duration of the current video.
Implementation
Future<double> getBufferDuration() async {
if (_isNeedDisposed) return 0;
await _initPlayer.future;
final result = await _mc!.invoke<double>('getBufferDuration');
return result ?? 0;
}