stop method

void stop()

Pauses playback and seeks back to the beginning.

Implementation

void stop() {
  pause();
  seekTo(Duration.zero);
}