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}');
await client.disconnect();

Libraries

dbus_client