Chatbot class
- Annotations
-
- @JsonSerializable()
Constructors
-
Chatbot({required String botName, required List<
Dialog> dialogs}) -
Chatbot.fromJson(Map<
String, dynamic> json) -
factory
- Chatbot.fromYaml(File yamlFile)
-
factory
Properties
- botName → String
-
final
-
dialogs
→ List<
Dialog> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nameFormatted → String
-
no setter
- phraseMatch → PhraseMatch
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkDialog(
{required LiveChatMessage liveChatMessage, required Function onFound}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited