DriveOrientation enum

Inheritance

Constructors

DriveOrientation(int angle)
const

Values

north → const DriveOrientation
DriveOrientation(0)
west → const DriveOrientation
DriveOrientation(90)
south → const DriveOrientation
DriveOrientation(180)
east → const DriveOrientation
DriveOrientation(270)

Properties

angle int
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
turnLeft() DriveOrientation
turnRight() DriveOrientation

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromRaw(Orientation orientation) DriveOrientation?

Constants

values → const List<DriveOrientation>
A constant List of the values in this enum, in order of their declaration.
[north, west, south, east]