The results we get from the USDA API are pretty bloated with random stuff that I don't care about so we should make a nutrient class to efficiently store nutrient information.
This should basically just contain name, amount, unit, serving_size, and serving_size_unit members.
Description
The results we get from the USDA API are pretty bloated with random stuff that I don't care about so we should make a nutrient class to efficiently store nutrient information.
This should basically just contain
name
,amount
,unit
,serving_size
, andserving_size_unit
members.