dbus_client 0.0.0-dev.6

discontinued

Native DBus client library.

Pub Package

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}");