HubAttachedIOMessage class Null safety messages

Fired when a new peripheral is attached or on first connection.

Inheritance

Constructors

HubAttachedIOMessage(int portId, IOType ioType, PeripheralVersion hardwareRevision, PeripheralVersion softwareRevision)

Properties

event ↔ HubAttachedIOEvent
read / write, inherited
hardwareRevision → PeripheralVersion
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
hubId ↔ int
read / write, inherited
ioType → IOType
final
messageType ↔ MessageType
read / write, inherited
payload ↔ List<int>
read / write, inherited
portId ↔ int
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
softwareRevision → PeripheralVersion
final

Methods

encode() → List<int>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

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