onChatThreadUpdate method
Implementation
@override
void onChatThreadUpdate(ChatThreadEvent event) {
if (thread != null && thread?.threadId == event.chatThread?.threadId) {
model = model?.copyWith(thread: thread);
thread = event.chatThread;
updatePermission();
refresh();
}
}