BleDevice class

蓝牙设备模型

Constructors

BleDevice({required String name, required String address, String? primaryServiceUuid, required int rssi})
BleDevice.fromMap(Map<String, dynamic> map)
从Map创建对象
factory

Properties

address → String
设备地址
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
设备名称
final
primaryServiceUuid → String?
主服务UUID
final
rssi → int
RSSI信号强度
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
toMap() → Map<String, dynamic>
转换为Map
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited