UsbSpeed enum

USB device speeds. Indicates the speed at which a device is operating.

Inheritance
Available extensions

Values

unknown → const UsbSpeed

The operating system doesn't know the device speed.

low → const UsbSpeed

The device is operating at low speed (1.5 Mbps).

full → const UsbSpeed

The device is operating at full speed (12 Mbps).

high → const UsbSpeed

The device is operating at high speed (480 Mbps).

super_ → const UsbSpeed

The device is operating at super speed (5 Gbps).

superPlus → const UsbSpeed

The device is operating at super speed plus (10 Gbps).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Static Methods

fromSpeed({required Speed speed}) Future<UsbSpeed>
Create a `UsbSpeed` from a `Speed`.

Constants

values → const List<UsbSpeed>
A constant List of the values in this enum, in order of their declaration.