removeChatThreadManagerListener method Null safety

void removeChatThreadManagerListener(
  1. EMChatThreadManagerListener listener
)

Removes the chat thread listener.

After adding a chat thread manager listener, you can remove this listener if you do not want to listen for it.

Param listener The chat thread listener to be removed. See {@link EMChatThreadManagerListener}.

Implementation

void removeChatThreadManagerListener(EMChatThreadManagerListener listener) {
  _listeners.remove(listener);
}