removeConnectionListener method Null safety
- @Deprecated("Use [removeConnectionEventHandler] to instead")
- ChatConnectionListener listener
Removes the chat server connection listener.
Param listener The chat server connection listener to be removed.
Implementation
@Deprecated("Use [removeConnectionEventHandler] to instead")
void removeConnectionListener(ChatConnectionListener listener) {
if (_connectionListeners.contains(listener)) {
_connectionListeners.remove(listener);
}
}