Allergens class
List of known allergens for a Product.
If we are lucky, we get values that match with AllergensTag. If we are less lucky, we have more exotic values.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ids
↔ List<
String> -
Allergen id formatted as 'en:gluten', like in AllergensTag tag.
getter/setter pair
-
names
↔ List<
String> -
Allergen name formatted as 'gluten'
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
allergensFromJson(
List? json) → Allergens -
allergensToJson(
Allergens? allergens) → List< String> ?