updateChatbotConfig method
Atualiza a configuração do chatbot e notifica os listeners.
Use este método para alterar as configurações do chatbot flutuante ou para habilitá-lo/desabilitá-lo.
controller.updateChatbotConfig(
ChatbotConfig(
chatWidget: MyChatWidget(),
position: ChatbotPosition.bottomRight,
),
);
Implementation
void updateChatbotConfig(ChatbotConfig? chatbotConfig) {
_chatbotConfig = chatbotConfig;
notifyListeners();
}