BlueZScanner({required this.client, required this.serviceIds}) { client.deviceAdded .listen((device) => addPeripheral(_createPeripheral(device))); }