pausePlayer()
The τ Player API
pausePlayer()
- Dart API: pausePlayer().
Use this verbe to pause the current playback. An exception is thrown if the player is not in the “playing” state.
Example:
await myPlayer.pausePlayer();
Lorem ipsum ...