Product class

Inheritance

Constructors

Product({String? name, String? code, String? description, String? imageUrl, double? weight, String? cookingGuidelines, String? microwaveCookingInstructions, String? ovenCookingInstructions, String? storageInstructions, int? unitsPerCase, String? plainTextIngredients, String? htmlIngredients, String? formulation, bool? isAvailable, bool? isNew, int? servingPortions, double? servingSize, Range? range, ServingType? servingType, List<ProductAllergen>? productAllergens, List<ProductCatalog>? productCatalogs, List<ProductDiet>? productDiets, List<ProductFreeFrom>? productFreeFroms, List<ProductGroup>? productGroups, List<ProductMadeWithout>? productMadeWithouts, List<ProductMealType>? productMealTypes, List<ProductMicrowaveStage>? productMicrowaveStages, List<ProductNutrition>? productNutritions, List<ProductPrecautionaryAllergenStatement>? productPrecautionaryAllergenStatements, List<ProductWarning>? productWarnings, required String id, DateTime? created, String? creator, DateTime? updated, String? updater})

Properties

code String?
getter/setter pair
cookingGuidelines String?
getter/setter pair
created DateTime?
getter/setter pairinherited
creator String?
getter/setter pairinherited
description String?
getter/setter pair
formulation String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
htmlIngredients String?
getter/setter pair
id String
finalinherited
imageUrl String?
getter/setter pair
isAvailable bool?
getter/setter pair
isNew bool?
getter/setter pair
microwaveCookingInstructions String?
getter/setter pair
name String?
getter/setter pair
ovenCookingInstructions String?
getter/setter pair
plainTextIngredients String?
getter/setter pair
productAllergens List<ProductAllergen>?
getter/setter pair
productCatalogs List<ProductCatalog>?
getter/setter pair
productDiets List<ProductDiet>?
getter/setter pair
productFreeFroms List<ProductFreeFrom>?
getter/setter pair
productGroups List<ProductGroup>?
getter/setter pair
productMadeWithouts List<ProductMadeWithout>?
getter/setter pair
productMealTypes List<ProductMealType>?
getter/setter pair
productMicrowaveStages List<ProductMicrowaveStage>?
getter/setter pair
productNutritions List<ProductNutrition>?
getter/setter pair
productPrecautionaryAllergenStatements List<ProductPrecautionaryAllergenStatement>?
getter/setter pair
productWarnings List<ProductWarning>?
getter/setter pair
range Range?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servingPortions int?
getter/setter pair
servingSize double?
getter/setter pair
servingType ServingType?
getter/setter pair
storageInstructions String?
getter/setter pair
unitsPerCase int?
getter/setter pair
updated DateTime?
getter/setter pairinherited
updater String?
getter/setter pairinherited
weight double?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) Product