getIdentity method

Future<String> getIdentity()

Gets org.mpris.MediaPlayer2.Identity

Implementation

Future<String> getIdentity() async {
  var value = await getProperty('org.mpris.MediaPlayer2', 'Identity',
      signature: DBusSignature('s'));
  return value.asString();
}