KnowledgePanelAction enum

Possible needed contribute actions.

cf. KnowledgePanelActionElement.actions.

Inheritance
Implemented types

Constructors

KnowledgePanelAction({required String offTag})
const

Values

addCategories → const KnowledgePanelAction

Action: add categories.

KnowledgePanelAction(offTag: 'add_categories')
addIngredientsText → const KnowledgePanelAction

Action: add ingredients text.

KnowledgePanelAction(offTag: 'add_ingredients_text')
addIngredientsImage → const KnowledgePanelAction

Action: add ingredients image.

KnowledgePanelAction(offTag: 'add_ingredients_image')
addPackagingImage → const KnowledgePanelAction

Action: add packaging image.

KnowledgePanelAction(offTag: 'add_packaging_image')
addPackagingText → const KnowledgePanelAction

Action: add packaging text.

KnowledgePanelAction(offTag: 'add_packaging_text')
addNutritionFacts → const KnowledgePanelAction

Action: add nutrition facts.

KnowledgePanelAction(offTag: 'add_nutrition_facts')
addOrigins → const KnowledgePanelAction

Action: add origins.

KnowledgePanelAction(offTag: 'add_origins')
addStores → const KnowledgePanelAction

Action: add stores.

KnowledgePanelAction(offTag: 'add_stores')
addLabels → const KnowledgePanelAction

Action: add labels.

KnowledgePanelAction(offTag: 'add_labels')
addCountries → const KnowledgePanelAction

Action: add countries.

KnowledgePanelAction(offTag: 'add_countries')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
offTag String
Identifying tag used in the rest of OFF.
final
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

fromOffTag(String? offTag) KnowledgePanelAction?
Returns the first KnowledgePanelAction that matches the offTag.
override

Constants

values → const List<KnowledgePanelAction>
A constant List of the values in this enum, in order of their declaration.