Zenith enum

Enum that defines the sun position in the event.

Twilights are divided in three phases: civil, nautical and astronomical. More info at: https://www.timeanddate.com/astronomy/different-types-twilight.html

Added two extra positions: official, for when the sun is crosses the horizon line and golden for when the sun is near the horizon.

Inheritance

Constructors

Zenith(double angle)
const

Values

astronomical → const Zenith

One of the three twilight phases

const Zenith(108)
nautical → const Zenith

One of the three twilight phases

const Zenith(102)
civil → const Zenith

One of the three twilight phases

const Zenith(96)
official → const Zenith

When the sun crosses the horizon line

const Zenith(90.8333)
golden → const Zenith

When the sun is near the horizon

const Zenith(86)

Properties

angle double
Angle value (in grads) for a specific Zenith.
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

Operators

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

Constants

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