ChatBotController<T extends ChatBotMessageConvertible> constructor

ChatBotController<T extends ChatBotMessageConvertible>({
  1. required int chatBotId,
  2. required ChatDataSource<T> chatService,
})

Implementation

ChatBotController({required this.chatBotId, required this.chatService}) {
  loadMessages(chatBotId);
}