setVolume method

Future<void> setVolume(
  1. double value
)

Sets org.mpris.MediaPlayer2.Player.Volume

Implementation

Future<void> setVolume(double value) async {
  await setProperty(
      'org.mpris.MediaPlayer2.Player', 'Volume', DBusDouble(value));
}