stop method

void stop()

Implementation

void stop() {
  _cancel();
  pausedAt = 0;
  player?.currentTime = 0;
}