ThpDeviceProperties class

Sent by the device in ChannelAllocationResponse. Not a wire message: it has no type id and is carried raw after the nonce and channel id. The raw bytes are also the Noise prologue, so they are kept alongside.

Constructors

ThpDeviceProperties({required Uint8List raw, required String internalModel, required int modelVariant, required int protocolVersionMajor, required int protocolVersionMinor, required List<int> pairingMethods})
const
ThpDeviceProperties.decode(Uint8List raw)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
internalModel → String
final
modelVariant → int
final
pairingMethods → List<int>
final
protocolVersionMajor → int
final
protocolVersionMinor → int
final
raw → Uint8List
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