getModifier method

NutrientModifier? getModifier(
  1. Nutrient nutrient
)

Returns the modifier of that nutrient.

See also: getValue, getUnit.

Implementation

NutrientModifier? getModifier(final Nutrient nutrient) =>
    NutrientModifier.fromOffTag(jsonMap[_getModifierTag(nutrient)]);