dbus_client 0.0.0-dev.7 dbus_client: ^0.0.0-dev.7 copied to clipboard
Native DBus client library.
A native Dart client implementation of D-Bus.
Example #
import 'package:dbus_client/dbus_client.dart';
var client = DBusClient.system();
await client.connect();
var proxy = DBusObjectProxy(client, 'org.freedesktop.hostname1', '/org/freedesktop/hostname1');
var result = await proxy.getProperty('org.freedesktop.hostname1', 'Hostname');
var hostname = (result.value as DBusString).value;
print("hostname: ${hostname}");