IOType enum Null safety messages

IOTypes for attached Peripherals.

Full details: https://lego.github.io/lego-ble-wireless-protocol-docs/#io-type-id additional types from: https://docs.pybricks.com/projects/pybricksdev/en/latest/api/ble/lwp3/bytecodes.html

Constants

Button → const IOType
const IOType(2)
Current → const IOType
const IOType(5)
ExternalMotorWithTacho → const IOType
const IOType(11)
ExternalTiltSensor → const IOType
const IOType(8)
HubIMUAccel → const IOType
const IOType(14)
HubIMUGesture → const IOType
const IOType(15)
HubIMUGyro → const IOType
const IOType(16)
HubIMUOrientation → const IOType
const IOType(17)
HubIMUTemperature → const IOType
const IOType(18)
HubStatusLight → const IOType
const IOType(19)
InternalMotorWithTacho → const IOType
const IOType(12)
InternalTilt → const IOType
const IOType(13)
LargeAngularMotor → const IOType
const IOType(23)
LargeMotor → const IOType
const IOType(20)
LEDLight → const IOType
const IOType(3)
MediumAngularMotor → const IOType
const IOType(22)
MotionSensor → const IOType
const IOType(9)
Motor → const IOType
const IOType(0)
PiezoTone → const IOType
const IOType(6)
RGBLight → const IOType
const IOType(7)
SystemTrainMotor → const IOType
const IOType(1)
values → const List<IOType>

A constant List of the values in this enum, in order of their declaration.

const List<IOType>
VisionSensor → const IOType
const IOType(10)
Voltage → const IOType
const IOType(4)
XLargeMotor → const IOType
const IOType(21)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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