pause method

void pause()

Implementation

void pause() {
  isPlaying = false;
  player?.pause();
}