ChatBotController<T extends ChatBotMessageConvertible> class

Constructors

ChatBotController.new({required int chatBotId, required ChatDataSource<T> chatService})

Properties

chatBotId int
final
chatService ChatDataSource<T>
final
hashCode int
The hash code for this object.
no setterinherited
listKey GlobalKey<AnimatedListState>
final
messageController TextEditingController
final
onStateChanged ↔ dynamic Function(ChatBotState)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController
final

Methods

appendMessage(ChatBotMessage message) → void
dispose() → void
loadMessages(int chatBotId) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateAllowedMessage(List<String> allowedMessageKey) → void

Operators

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