pause method
Pauses the audio that is currently playing.
If you call resume later, the audio will resume from the point that it has been paused.
Implementation
Future<void> pause() async {
  await creatingCompleter.future;
  await _platform.pause(playerId);
  state = PlayerState.paused;
}