proteinGram property
int
get
proteinGram
Calculates the total grams of protein based on the percentage and total calorie target.
Implementation
int get proteinGram => caloriesTarget * proteinPercentage / 100 ~/ 4;