operator == method
Compares for equality of this and other BluetoothDevice
.
In fact, only address
is compared, since this is most important
and unchangable information that identifies each device.
Implementation
operator ==(Object other) {
return other is BluetoothDevice && other.address == this.address;
}