Unit enum

Inheritance
Available extensions

Values

acre → const Unit
bit → const Unit
byte → const Unit
celsius → const Unit
centimeter → const Unit
day → const Unit
degree → const Unit
fahrenheit → const Unit
fluidounce → const Unit
gallon → const Unit
gigabit → const Unit
gigabyte → const Unit
gram → const Unit
hectare → const Unit
hour → const Unit
inch → const Unit
kilobit → const Unit
kilobyte → const Unit
kilogram → const Unit
kilometer → const Unit
liter → const Unit
megabit → const Unit
megabyte → const Unit
meter → const Unit
mile → const Unit
milescandinavian → const Unit
milliliter → const Unit
millimeter → const Unit
millisecond → const Unit
minute → const Unit
month → const Unit
ounce → const Unit
percent → const Unit
petabyte → const Unit
pound → const Unit
second → const Unit
stone → const Unit
terabit → const Unit
terabyte → const Unit
week → const Unit
yard → const Unit
year → const Unit

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
jsName String
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<Unit>
A constant List of the values in this enum, in order of their declaration.