BodySide enum

Represents the side from which the body is viewed.

Values are ordered as if looking at the person from the front, and them then rotating them clockwise, so that their left side is visible next.

Inheritance
Available extensions

Values

front → const BodySide

The front (ventral) side of the body.

As if looking the person in the face.

left → const BodySide

The left (sinister) side of the body, where the person's left hand is.

back → const BodySide

The back (dorsal) side of the body.

As if looking at the person's back.

The right (dexter) side of the body, where the person's right hand is.

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

map<T>({required T front, required T left, required T back, required T right}) → T
Maps the side to a value of type T.
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

forIndex(int i) BodySide
Returns the BodySide for the given index.

Constants

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