pause method

void pause()

Implementation

void pause() {
  _pausedAt = player?.currentTime as double?;
  _isPlaying = false;
  player?.pause();
}