Ingredient constructor

Ingredient({
  1. int? rank,
  2. String? id,
  3. String? text,
  4. bool? isInTaxonomy,
  5. double? percent,
  6. double? percentEstimate,
  7. IngredientSpecialPropertyStatus? vegan,
  8. IngredientSpecialPropertyStatus? vegetarian,
  9. IngredientSpecialPropertyStatus? fromPalmOil,
  10. List<Ingredient>? ingredients,
  11. bool? bold = false,
})

Implementation

Ingredient({
  this.rank,
  this.id,
  this.text,
  this.isInTaxonomy,
  this.percent,
  this.percentEstimate,
  this.vegan,
  this.vegetarian,
  this.fromPalmOil,
  this.ingredients,
  this.bold = false,
});