volume property
double
get
volume
a double
greater than 0
(values greater than 1
may behave differently from platform to platform)
Implementation
double get volume => _sound.volume;
set
volume
(double value)
Implementation
set volume(double value) => _sound.volume = value < 0 ? 0 : value;