stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  pause();
  _pausedAt = 0;
  player?.currentTime = 0;
}