getCurrentPlaybackTime method
Get the current playback time, in seconds.
Implementation
Future<double> getCurrentPlaybackTime() async {
if (_isNeedDisposed) return 0;
await _initPlayer.future;
final result = await _mc!.invoke<double>('getCurrentPlaybackTime');
return result ?? 0;
}