No servingUnit value #463
Vishnu-Jmatics
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have integrated openFood package in flutter and found we couldn't get serving unit specifically. The servingSize and unit together in a string. My need is to calculate the nutriments by entering the serving size. For example 'Mandarin orange' servingSize is "1 cup(140 g)" has 956 kCal calorie. If I put 280 g then calculate it as (956*2). Here a servingQuantity value 140.0, but not mentioned it is in which unit. So kindly help for the solutions. I have attached the screenshot of this regard.
Beta Was this translation helpful? Give feedback.
All reactions