BluetoothDevice.fromRangingResult constructor
BluetoothDevice.fromRangingResult(
- Beacon result,
- String beaconName
Implementation
factory BluetoothDevice.fromRangingResult(Beacon result, String beaconName) =>
BluetoothDevice(
bluetoothDeviceId: beaconName,
bluetoothDeviceName: beaconName,
connectable: false,
txPowerLevel: result.txPower,
advertisementName: beaconName,
rssi: result.rssi,
);