stop method

void stop()

Implementation

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