BotAction class
This class helps define the action of nodes or messages.
It returns a string that represents the action.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
api(
String apiName) → String - A string representing the action of calling an API object.
- A string representing the action of calling a button object.
-
carousel(
String carouselName) → String - A string representing the action of calling a carousel object
-
createParameter(
String parameterName, String parameterValue) → String - A string representing the action of creating a new parameter.
-
dialogue(
String dialogueName) → String - A string representing the action of calling a dialogue object.
-
image(
String imageName) → String - A string representing the action of calling an image object.
-
intent(
String intentName) → String - A string representing the action of calling an intent.
-
parameter(
String parameterName) → String - A referrence to a parameter.
-
text(
String text) → String - This doesn't call any object. It just returns the text.