BlueZClient constructor
BlueZClient({
- DBusClient? bus,
Creates a new BlueZ client. If bus is provided connect to the given D-Bus server.
Implementation
BlueZClient({DBusClient? bus})
: _bus = bus ?? DBusClient.system(),
_closeBus = bus == null {
_root = DBusRemoteObjectManager(_bus,
name: 'org.bluez', path: DBusObjectPath('/'));
}