NutrientLevels class

Constructors

NutrientLevels(Map<String, NutrientLevel> levels)

Properties

hashCode int
The hash code for this object.
no setterinherited
levels Map<String, NutrientLevel>
getter/setter pair
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

Static Methods

fromJson(Map? json) NutrientLevels
toJson(NutrientLevels? nutrientLevels) Map<String, dynamic>?

Constants

NUTRIENT_FAT → const String
NUTRIENT_SALT → const String
NUTRIENT_SATURATED_FAT → const String
NUTRIENT_SUGARS → const String
nutrients → const List<String>