InteractionGoal class
Represents an interaction goal within the chat.
This class includes properties that encapsulate details of an interaction goal, including the type of goal and the elementIds associated with this goal.
Constructors
-
InteractionGoal({required String type, List<
String> elementIds = const []}) -
Constructs a new
InteractionGoal
instance. - InteractionGoal.fromMap(dynamic map)
-
Creates a new
InteractionGoal
instance from a map.factory
Properties
-
elementIds
↔ List<
String> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
getter/setter pair
Methods
-
getElementIds(
) → List< String> - Returns the list of element IDs associated with this interaction goal.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setElementIds(
List< String> elementIds) → void - Sets the list of element IDs associated with this interaction goal.
-
toMap(
) → Map< String, dynamic> -
Generates a map representing the
InteractionGoal
. -
toString(
) → String -
Generates a string representation of the
InteractionGoal
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited