CelestialRadius enum

Inheritance
Available extensions

Values

EARTH → const CelestialRadius
const CelestialRadius(6371e3)
EARTH_MOON → const CelestialRadius
const CelestialRadius(1737.4e3)
MARS → const CelestialRadius
const CelestialRadius(3389.5e3)

Properties

hashCode int
The hash code for this object.
no setterinherited
inAstronomicalUnits double
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
inFeet double
no setter
inKilometres double
no setter
inMetres double
no setter
inMiles double
no setter
inNauticalMiles double
no setter
inYards double
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
radius double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(DistanceUnit unit) double
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<CelestialRadius>
A constant List of the values in this enum, in order of their declaration.