import 'dart:io'; import 'package:dbus/dbus.dart'; class ComExampleTest extends DBusRemoteObject { ComExampleTest(DBusClient client, String destination, DBusObjectPath path) : super(client, name: destination, path: path); /// Invokes com.example.Test.Hello() Future callHello(String value, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) async { await callMethod('com.example.Test', 'Hello', [DBusString(value)], replySignature: DBusSignature(''), noAutoStart: noAutoStart, allowInteractiveAuthorization: allowInteractiveAuthorization); } }