pause method

void pause()

Implementation

void pause() {
  pausedAt = player?.currentTime as double?;
  _cancel();
}