introspect method

Future<DBusIntrospectNode> introspect()
inherited

Gets the introspection data for this object.

Throws DBusServiceUnknownException if there is the requested service is not available. Throws DBusUnknownObjectException if this object is not available. Throws DBusUnknownInterfaceException if introspection is not supported by this object.

Implementation

Future<DBusIntrospectNode> introspect() async {
  var result = await client.callMethod(
      destination: name,
      path: path,
      interface: 'org.freedesktop.DBus.Introspectable',
      name: 'Introspect',
      replySignature: DBusSignature('s'));
  var xml = result.returnValues[0].asString();
  return parseDBusIntrospectXml(xml);
}