fat property

  1. @Deprecated('Use getValue instead')
double? get fat

Fats, in grams, per 100 grams of product as sold

Implementation

@Deprecated('Use getValue instead')
double? get fat => getValue(Nutrient.fat, PerSize.oneHundredGrams);
  1. @Deprecated('Use setValue instead')
set fat (double? value)

Implementation

@Deprecated('Use setValue instead')
set fat(final double? value) =>
    setValue(Nutrient.fat, PerSize.oneHundredGrams, value);