ConnectedBleDevice class
Represents a BLE device that is connected to the host device.
Because this class is used to represent devices that are already connected to the system. Their RSSI and manufacturer data are not needed.
Constructors
- ConnectedBleDevice({required String name, required String address})
- Creates an instance of ConnectedBleDevice.
- ConnectedBleDevice.fromMap(Map map)
-
Converts a Map to a ConnectedBleDevice object.
factory
Properties
- address → String
-
The Bluetooth address of the device.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- manufacturerData → String?
-
The manufacturer data associated with the device.
finalinherited
- name → String?
-
The name of the device.
finalinherited
- rssi → int
-
The RSSI (Received Signal Strength Indicator) value for the device.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited