Unit class

Constructors

Unit.fromValue(int value)
factory

Properties

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

Methods

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 ==(Object other) bool
The equality operator.
inherited

Static Methods

containsValue(int value) bool

Constants

celsius → const Unit
centimetre → const Unit
cubic_metre_per_cubic_metre → const Unit
cubic_metre_per_second → const Unit
degree_direction → const Unit
dimensionless → const Unit
dimensionless_integer → const Unit
european_air_quality_index → const Unit
fahrenheit → const Unit
feet → const Unit
fraction → const Unit
gdd_celsius → const Unit
geopotential_metre → const Unit
grains_per_cubic_metre → const Unit
gram_per_kilogram → const Unit
hectopascal → const Unit
hours → const Unit
inch → const Unit
iso8601 → const Unit
joule_per_kilogram → const Unit
kelvin → const Unit
kilogram_per_square_metre → const Unit
kilometres_per_hour → const Unit
kilopascal → const Unit
knots → const Unit
maxValue → const int
megajoule_per_square_metre → const Unit
metre → const Unit
metre_per_second → const Unit
metre_per_second_not_unit_converted → const Unit
micrograms_per_cubic_metre → const Unit
miles_per_hour → const Unit
millimetre → const Unit
minValue → const int
pascal → const Unit
per_second → const Unit
percentage → const Unit
reader → const Reader<Unit>
seconds → const Unit
undefined → const Unit
unix_time → const Unit
us_air_quality_index → const Unit
values → const Map<int, Unit>
watt_per_square_metre → const Unit
wmo_code → const Unit