BleDevice class

Represents a discovered BLE device.

Implementers

Constructors

BleDevice({required String? name, required String address, required List<String> advertisedServiceUuids, required int rssi, required ManufacturerData? manufacturerData})
Creates an instance of BleDevice.
BleDevice.fromMap(Map map)
Converts a Map to a BleDevice object.
factory

Properties

address → String
The Bluetooth address of the device.
final
advertisedServiceUuids → List<String>
A list of services advertised by the device.
final
hashCode → int
The hash code for this object.
no setterinherited
manufacturerData → ManufacturerData?
The manufacturer data associated with the device.
final
name → String?
The name of the device.
final
rssi → int
The RSSI (Received Signal Strength Indicator) value for the device.
final
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