UnprovisionedDevice class

Represents an unprovisioned BLE mesh device discovered during scanning

Constructors

UnprovisionedDevice({required String uuid, required String name, required int rssi, required Map<String, dynamic> advertisementData, String? macAddress})
const
UnprovisionedDevice.fromMap(Map<String, dynamic> map)
Create from map received from platform channel
factory

Properties

advertisementData Map<String, dynamic>
Advertisement data from BLE scan
final
hashCode int
The hash code for this object.
no setteroverride
macAddress String?
MAC address (if available)
final
name String
Device name (may be empty)
final
rssi int
Signal strength in dBm
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String
Device UUID (unique identifier)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to map for platform channel communication
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override