SideOfTheWorld enum
Represents the cardinal directions or, in other words, cardinal points.
Constructors
- SideOfTheWorld(String abbr, String name)
-
const
Values
- north → const SideOfTheWorld
-
const SideOfTheWorld('N', 'North')
- northEast → const SideOfTheWorld
-
const SideOfTheWorld('NE', 'North-East')
- east → const SideOfTheWorld
-
const SideOfTheWorld('E', 'East')
- southEast → const SideOfTheWorld
-
const SideOfTheWorld('SE', 'South-East')
- south → const SideOfTheWorld
-
const SideOfTheWorld('S', 'South')
- southWest → const SideOfTheWorld
-
const SideOfTheWorld('SW', 'South-West')
- west → const SideOfTheWorld
-
const SideOfTheWorld('W', 'West')
- northWest → const SideOfTheWorld
-
const SideOfTheWorld('NW', 'North-West')
Properties
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
-
fromDegrees(
double deg) → SideOfTheWorld - The function of translation from degrees to the cardinal directions.
Constants
-
values
→ const List<
SideOfTheWorld> - A constant List of the values in this enum, in order of their declaration.