getId method

Future<String> getId()

Gets the unique ID of the bus.

Implementation

Future<String> getId() async {
  var result = await callMethod(
      destination: 'org.freedesktop.DBus',
      path: DBusObjectPath('/org/freedesktop/DBus'),
      interface: 'org.freedesktop.DBus',
      name: 'GetId',
      replySignature: DBusSignature('s'));
  return result.returnValues[0].asString();
}