MassUnit enum

represent all the supported unit for ISMass

Constants

gram → const MassUnit
const MassUnit(2)
imperialTon → const MassUnit
const MassUnit(5)
kilogram → const MassUnit
const MassUnit(1)
microgram → const MassUnit
const MassUnit(4)
milligram → const MassUnit
const MassUnit(3)
ounce → const MassUnit
const MassUnit(9)
pound → const MassUnit
const MassUnit(8)
stone → const MassUnit
const MassUnit(7)
tonnes → const MassUnit
const MassUnit(0)
usTon → const MassUnit
const MassUnit(6)
values → const List<MassUnit>

A constant List of the values in this enum, in order of their declaration.

const List<MassUnit>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited