getVolume method

Future<double> getVolume()

Gets org.mpris.MediaPlayer2.Player.Volume

Implementation

Future<double> getVolume() async {
  var value = await getProperty('org.mpris.MediaPlayer2.Player', 'Volume',
      signature: DBusSignature('d'));
  return value.asDouble();
}