setVolume method

void setVolume(
  1. double volume
)

Implementation

void setVolume(double volume) {
  if (isInitialized) {
    configuration = configuration.copyWith(volume: volume);
    _channel.setVolume(volume);
  }
}