IntentOperator class

The operator for the intent.

Constructors

IntentOperator.of(BotIntent _intent, Bot _bot)
Create a new intent operator.

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
trainKeyword({required String keyword}) Future<void>
Train the intent with a keyword (text recieved from the users).
trainMessage({required String message}) Future<void>
Train the intent with a message (text that the bot will respond to the users).

Operators

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