fatGram property

int get fatGram

Calculates the total grams of fat based on the percentage and total calorie target.

Implementation

int get fatGram => caloriesTarget * fatPercentage / 100 ~/ 9;