getCurrentTime method

Future<double> getCurrentTime()

Returns the current playback position in seconds.

Implementation

Future<double> getCurrentTime() async {
  final v = await _invoke<double>('getCurrentTime');
  return v ?? 0.0;
}