BotAction class

This class helps define the action of nodes or messages.

It returns a string that represents the action.

Constructors

BotAction()

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 Properties

keyword String
A referrence to the latest respond from the user.
no setter

Static Methods

api(String apiName) String
A string representing the action of calling an API object.
button(String buttonName) String
A string representing the action of calling a button object.
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.