LengthUnit enum

represent all the supported unit for ISLength

Constants

centimeter → const LengthUnit
const LengthUnit(3)
const LengthUnit(7)
inch → const LengthUnit
const LengthUnit(6)
kilometer → const LengthUnit
const LengthUnit(5)
meter → const LengthUnit
const LengthUnit(4)
micrometer → const LengthUnit
const LengthUnit(1)
mile → const LengthUnit
const LengthUnit(9)
millimeter → const LengthUnit
const LengthUnit(2)
nanometer → const LengthUnit
const LengthUnit(0)
nauticalMile → const LengthUnit
const LengthUnit(10)
values → const List<LengthUnit>

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

const List<LengthUnit>
yard → const LengthUnit
const LengthUnit(8)

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
A string representation of this object. [...]
override

Operators

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