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.

Constants

astronomical → const Zenith
const Zenith(0)
civil → const Zenith
const Zenith(2)
golden → const Zenith
const Zenith(4)
nautical → const Zenith
const Zenith(1)
official → const Zenith
const Zenith(3)
values → const List<Zenith>

A constant List of the values in this enum, in order of their declaration.

const List<Zenith>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

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
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited