BlueZScanner constructor

BlueZScanner({
  1. required BlueZClient client,
  2. required List<String> serviceIds,
})

Implementation

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