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