togglePlay method
Toggle play/pause: if playing → pause, if paused → play.
Implementation
Future<void> togglePlay() => _invoke('togglePlay');
Toggle play/pause: if playing → pause, if paused → play.
Future<void> togglePlay() => _invoke('togglePlay');