pausePlayer method Null safety
Pause the current playback.
An exception is thrown if the player is not in the "playing" state.
Example:
await myPlayer.pausePlayer();
Implementation
Future<void> pausePlayer() async {
print('FS:---> pausePlayer ');
await _lock.synchronized(() async {
await _pausePlayer();
});
print('FS:<--- pausePlayer ');
}