KnowledgePanelAction enum

Possible needed contribute actions.

cf. KnowledgePanelActionElement.actions.

Inheritance
Implemented types
Available extensions

Values

addCategories → const KnowledgePanelAction

Action: add categories.

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

Action: add ingredients text.

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

Action: add ingredients image.

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

Action: add packaging image.

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

Action: add packaging text.

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

Action: add nutrition facts.

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

Action: add origins.

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

Action: add stores.

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

Action: add labels.

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

Action: add countries.

const 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
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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.