removeConnectionListener method Null safety
- EMConnectionListener listener
Removes the chat server connection listener.
Param listener
The chat server connection listener to be removed.
Implementation
void removeConnectionListener(EMConnectionListener listener) {
if (_connectionListeners.contains(listener)) {
_connectionListeners.remove(listener);
}
}