address property
LEAddress?
get
address
Gets the Bluetooth LE device address.
Implementation
LEAddress? get address {
if (attributes.containsKey(EIRType.LEBluetoothDeviceAddress)) {
return LEAddress.fromBytes(attributes[EIRType.LEBluetoothDeviceAddress]);
} else {
return null;
}
}
set
address
(LEAddress? address)
Implementation
set address(LEAddress? address) {
attributes[EIRType.LEBluetoothDeviceAddress] = address!.bytes;
}