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;
}