ScanResult constructor
ScanResult({
- BluetoothDevice? device,
- AdvertisementData? advertisementData,
- int? rssi,
Implementation
factory ScanResult({
BluetoothDevice? device,
AdvertisementData? advertisementData,
$core.int? rssi,
}) {
final $result = create();
if (device != null) {
$result.device = device;
}
if (advertisementData != null) {
$result.advertisementData = advertisementData;
}
if (rssi != null) {
$result.rssi = rssi;
}
return $result;
}