setVolume method

void setVolume(
  1. double volume
)

Implementation

void setVolume(double volume) {
  currentVolume = volume;
  player?.volume = volume;
}