setVolume method

void setVolume(
  1. double volume
)

Implementation

void setVolume(double volume) {
  if (media != null) {
    media?.volume = volume;
  }
}