getUnit method
Returns the default Unit of that nutrient
.
Implementation
@Deprecated('Use nutrient.typicalUnit instead')
Unit? getUnit(final Nutrient nutrient) => nutrient.typicalUnit;
Returns the default Unit of that nutrient
.
@Deprecated('Use nutrient.typicalUnit instead')
Unit? getUnit(final Nutrient nutrient) => nutrient.typicalUnit;