Product constructor

Product({
  1. String? name,
  2. String? code,
  3. String? description,
  4. String? imageUrl,
  5. double? weight,
  6. String? cookingGuidelines,
  7. String? microwaveCookingInstructions,
  8. String? ovenCookingInstructions,
  9. String? storageInstructions,
  10. int? unitsPerCase,
  11. String? plainTextIngredients,
  12. String? htmlIngredients,
  13. String? formulation,
  14. bool? isAvailable,
  15. bool? isNew,
  16. int? servingPortions,
  17. double? servingSize,
  18. Range? range,
  19. ServingType? servingType,
  20. List<ProductAllergen>? productAllergens,
  21. List<ProductCatalog>? productCatalogs,
  22. List<ProductDiet>? productDiets,
  23. List<ProductFreeFrom>? productFreeFroms,
  24. List<ProductGroup>? productGroups,
  25. List<ProductMadeWithout>? productMadeWithouts,
  26. List<ProductMealType>? productMealTypes,
  27. List<ProductMicrowaveStage>? productMicrowaveStages,
  28. List<ProductNutrition>? productNutritions,
  29. List<ProductPrecautionaryAllergenStatement>? productPrecautionaryAllergenStatements,
  30. List<ProductWarning>? productWarnings,
  31. required String id,
  32. DateTime? created,
  33. String? creator,
  34. DateTime? updated,
  35. String? updater,
})

Implementation

Product({
  this.name,
  this.code,
  this.description,
  this.imageUrl,
  this.weight,
  this.cookingGuidelines,
  this.microwaveCookingInstructions,
  this.ovenCookingInstructions,
  this.storageInstructions,
  this.unitsPerCase,
  this.plainTextIngredients,
  this.htmlIngredients,
  this.formulation,
  this.isAvailable,
  this.isNew,
  this.servingPortions,
  this.servingSize,
  this.range,
  this.servingType,
  this.productAllergens,
  this.productCatalogs,
  this.productDiets,
  this.productFreeFroms,
  this.productGroups,
  this.productMadeWithouts,
  this.productMealTypes,
  this.productMicrowaveStages,
  this.productNutritions,
  this.productPrecautionaryAllergenStatements,
  this.productWarnings,
  required String id,
  DateTime? created,
  String? creator,
  DateTime? updated,
  String? updater,
}) : super(
        id: id,
        created: created,
        updated: updated,
        updater: updater,
      );