pause method

  1. @override
void pause()
override

Implementation

@override
void pause() {
  if (_audioElement != null) {
    isPlaying = false;
    forwardHandler?.stop();
    _audioElement?.pause();
  }
}