UnitSystem enum
Supported units of distance.
Constructors
- UnitSystem()
-
const
Values
- imperial → const UnitSystem
-
Used for imperial units, e.g. miles.
- metric → const UnitSystem
-
Used for metric units, e.g. kilometers.
Properties
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<
UnitSystem> - A constant List of the values in this enum, in order of their declaration.