setVolume method

Future<DBusMethodResponse> setVolume(
  1. double value
)

Sets property org.mpris.MediaPlayer2.Player.Volume

Implementation

Future<DBusMethodResponse> setVolume(double value) async {
  _volumeStreamController.add(value);
  return DBusMethodSuccessResponse([]);
}