BluetoothLowEnergyScanner constructor
BluetoothLowEnergyScanner({
- required CentralManager backend,
- required List<
UUID> serviceIds,
Implementation
BluetoothLowEnergyScanner({required this.backend, required this.serviceIds}) {
backend.discovered
.listen((device) => addPeripheral(_createPeripheral(device)));
}