DevicePeripheralId class sealed

设备信息

Annotations
  • @freezed
  • @immutable

Constructors

DevicePeripheralId({String? name, required bool isConnected, required String address, int? txPowerLevel, int? rssi, required Map<int, Uint8List> manufacturerData, required Map<UuidValue, Uint8List> serviceData, required List<UuidValue> services, required BPeripheral peripheral})
const
factory

Properties

address String
no setterinherited
copyWith → $DevicePeripheralIdCopyWith<DevicePeripheralId>
Create a copy of DevicePeripheralId with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
no setterinherited
manufacturerData Map<int, Uint8List>
no setterinherited
name String?
no setterinherited
peripheral BPeripheral
no setterinherited
rssi int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceData Map<UuidValue, Uint8List>
no setterinherited
services List<UuidValue>
no setterinherited
txPowerLevel int?
no setterinherited

Methods

infosToString() Future<String>
格式化设备信息
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