PortionHelper constructor
- List<
OrderedNutrient> localizedNutrients, - Product product,
- int grams
Implementation
PortionHelper(
List<OrderedNutrient> localizedNutrients,
this.product,
this.grams,
) {
_numberFormat = NumberFormat('####0.###', ProductQuery.getLocaleString());
_populateFactoredNutrients(localizedNutrients);
}