Ingredient constructor

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

Implementation

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