pause method
void
pause()
Implementation
void pause() {
pausedAt = player?.currentTime as double?;
isPlaying = false;
player?.pause();
}
void pause() {
pausedAt = player?.currentTime as double?;
isPlaying = false;
player?.pause();
}