getUnit method

Unit getUnit(
  1. Nutrient nutrient
)

Returns the nutrient Unit.

Implementation

Unit getUnit(Nutrient nutrient) => _units[nutrient]!;