onChatThreadDestroy method

void onChatThreadDestroy(
  1. ChatThreadEvent event
)

Implementation

void onChatThreadDestroy(ChatThreadEvent event) {
  // SDKWrapperTools.insertThreadEventMessage(event: event);
  for (var observer in List<ChatUIKitObserverBase>.of(observers)) {
    if (observer is ThreadObserver) {
      observer.onChatThreadDestroy(event);
    }
  }
}