AllergensParameter class
List of allergens to filter in and out.
When we have several items, the results returned use a logical AND.
- Inheritance
-
- Object
- Parameter
- BoolMapParameter<
AllergensTag> - AllergensParameter
Constructors
-
AllergensParameter({required Map<
AllergensTag, bool> map}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
map
→ Map<
AllergensTag, bool> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getName(
) → String -
URI parameter name
override
-
getTag(
AllergensTag key, bool value) → String -
Returns the tag as on or off, like "gluten:with" or "gluten:without"
override
-
getValue(
) → String -
URI parameter value
inherited
-
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