pause method

void pause()

Implementation

void pause() {
  if (isInitialized) {
    configuration = configuration.copyWith(isPlaying: false);
    _channel.pause();
  }
}