Unit enum
Unit of measurement for nutrients
Values
- KCAL → const Unit
-
const Unit('kcal') - KJ → const Unit
-
const Unit('kj') - G → const Unit
-
const Unit('g') - MILLI_G → const Unit
-
const Unit('mg') - MICRO_G → const Unit
-
const Unit('mcg') - MILLI_L → const Unit
-
const Unit('ml') - L → const Unit
-
const Unit('liter') - PERCENT → const Unit
-
const Unit('percent') - UNKNOWN → const Unit
-
const Unit('unknown') - PERCENT_DV → const Unit
-
const Unit('% DV') - IU → const Unit
-
const Unit('IU')
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 - offTag → String
-
Identifying tag used in the rest of OFF.
final
- 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