ConfigDescriptor class

Constructors

ConfigDescriptor({required bool active, required int configurationValue, String? description, required bool selfPowered, required bool remoteWakeup, required int maxPower, required List<InterfaceDescriptor> interfaces, required ByteBuffer extraData})
ConfigDescriptor.fromJS(ConfigDescriptor _wrapped)

Properties

active ↔ bool
Is this the active configuration?
getter/setter pair
configurationValue ↔ int
The configuration number.
getter/setter pair
description ↔ String?
Description of the configuration.
getter/setter pair
extraData ↔ ByteBuffer
Extra descriptor data associated with this configuration.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
interfaces ↔ List<InterfaceDescriptor>
Available interfaces.
getter/setter pair
maxPower ↔ int
The maximum power needed by this device in milliamps (mA).
getter/setter pair
remoteWakeup ↔ bool
The device supports remote wakeup.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selfPowered ↔ bool
The device is self-powered.
getter/setter pair
toJS → ConfigDescriptor
no setter

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