UnitType enum

All defined types for Unit.

Inheritance
Implemented types
Available extensions

Values

undefined → const UnitType
const UnitType('undefined', double.nan)
undefinedUpper → const UnitType
const UnitType('undefinedUpper', double.infinity)
gigaparsec → const UnitType
const UnitType('Gpc', -1)
megaparsec → const UnitType
const UnitType('Mpc', 1000)
kiloparsec → const UnitType
const UnitType('Kpc', 1000)
parsec → const UnitType
const UnitType('pc', 1000)
lightYear → const UnitType
const UnitType('ly', 3.26156377716)
millionAstronomicalUnit → const UnitType
const UnitType('au', 63241.1 / 100 / 10 / 1000)
thousandAstronomicalUnit → const UnitType
const UnitType('au', 1000)
hundredAstronomicalUnit → const UnitType
const UnitType('au', 10)
astronomicalUnit → const UnitType
const UnitType('au', 100)
millionKilometre → const UnitType
const UnitType('Mkm', 149597870.7 / 100 / 10 / 1000)
thousandKilometre → const UnitType
const UnitType('Kkm', 1000)
hundredKilometre → const UnitType
const UnitType('Hkm', 10)
kilometre → const UnitType
const UnitType('km', 100)
metre → const UnitType
const UnitType('m', 1000)
centimetre → const UnitType
const UnitType('cm', 100)
millimetre → const UnitType
const UnitType('mm', 10)
undefinedLower → const UnitType
const UnitType('undefinedLower', double.negativeInfinity)

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
ratiosToUpper double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String
final

Methods

compareTo(UnitType other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator <(UnitType other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(UnitType other) bool

Constants

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