KnowledgePanelActionElement class

"Contribute action" element of the Knowledge panel.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

KnowledgePanelActionElement({required String html, required List<String> actions})
const
KnowledgePanelActionElement.fromJson(Map<String, dynamic> json)
factory

Properties

actions List<String>
Needed contribute actions, e.g. ACTION_ADD_CATEGORIES.
final
hashCode int
The hash code for this object.
no setterinherited
html String
HTML description.
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
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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

Constants

ACTION_ADD_CATEGORIES → const String
Possible needed contribute action: add categories.
ACTION_ADD_INGREDIENTS_TEXT → const String
Possible needed contribute action: add ingredients text.
ACTION_ADD_NUTRITION_FACTS → const String
Possible needed contribute action: add nutrition facts.