Returns fat in grams for g grams of r.
g
r
double lFromG(Map<String, dynamic> r, double g) { return math.max(0.0, g) * fatPer100(r) / 100.0; }