Returns the total duration in seconds.
Future<double> getDuration() async { final v = await _invoke<double>('getDuration'); return v ?? 0.0; }