sugars property

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

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

Implementation

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

Implementation

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