IbmWatsonAssistant class
IBM Watson Assistant V2 API Functions
Constructors
Properties
- auth → IbmWatsonAssistantAuth
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → Options
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createSession(
) → Future< String?> - Creates a new session for a user and returns the session ID.
-
deleteSession(
String sessionId) → Future< void> - Clears the current session for a user.
-
logs(
) → Future< Map< String, dynamic> ?> - Retrieves IBM Watson Chatbot logs.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendInput(
String input, {String? sessionId, bool returnContext = true}) → Future< IbmWatsonAssistantResponse> - If sessionId is specified, sends stateful input to the chatbot in the matching session.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited