LineInfo class

Info about a GPIO line. Also contains the line configuration.

Annotations

Constructors

LineInfo({String name, String consumer, LineDirection direction, OutputMode outputMode, Bias bias, ActiveState activeState, bool isUsed, bool isRequested})
const

Properties

activeState ActiveState
The active state of the GPIO line. [...]
final
bias Bias
The bias of the line.
final
consumer String
A label given to the line by the application currently using this line, ideally describing what the line is used for right now. [...]
final
direction LineDirection
The direction of the line.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isFree bool
read-only
isRequested bool
Whether the line is requested / owned by this application.
final
isUsed bool
Whether the line is currently used by any application (including this one).
final
name String
The name (determined by the driver or device tree) of this line. [...]
final
outputMode OutputMode
The output mode of the line.
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