MassUnit enum

Inheritance
Implemented types
Available extensions

Values

kilogram → const MassUnit
const MassUnit('kg')
hectogram → const MassUnit
const MassUnit('hg')
dekagram → const MassUnit
const MassUnit('dag')
gram → const MassUnit
const MassUnit('g')
decigram → const MassUnit
const MassUnit('dg')
centigram → const MassUnit
const MassUnit('cg')
miligram → const MassUnit
const MassUnit('mg')
microgram → const MassUnit
const MassUnit('µg')
nanogram → const MassUnit
const MassUnit('ng')
megagram → const MassUnit
const MassUnit('Mg')
gigagram → const MassUnit
const MassUnit('Gg')
ounce → const MassUnit
const MassUnit('oz')
pound → const MassUnit
const MassUnit('lb')
ton → const MassUnit
const MassUnit('ton')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
sym String
final
symbol String
no setteroverride

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