pause method
Pause playback. Must be called after the player has started playing.
Implementation
@override
Future<void> pause() async {
if (_isNeedDisposed) return;
await _initPlayer.future;
await _mc!.invoke<void>('pause');
_changeState(TXPlayerState.paused);
}