ApiDatasourceImpl class

Default implementation for chat bot ChatBotDatasource can be overridden by your own implementation Use: class MyOverrideDatasource extends ChatBotDatasource or class MyOverrideDatasource implements ChatBotDatasource

Implemented types

Constructors

ApiDatasourceImpl({Client? httpClient, required ParamsChatBot params, required String apiKey})

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
sendMessage({required String message}) Future<MessageChat>
Send a message to the chat bot
override
toString() String
A string representation of this object.
inherited

Operators

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