Units enum

Inheritance

Constructors

Units()
const

Values

Auto → const Units

Automatically select units based on geographic location.

CA → const Units

Same as Units.Si, except that windSpeed is in kilometers per hour.

UK2 → const Units

Same as Units.Si, except that nearestStormDistance and visibility are in miles and windSpeed is in miles per hour.

US → const Units

Imperial units (the default).

SI → const Units

SI units.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<Units>
A constant List of the values in this enum, in order of their declaration.