removeOnConnectionChangeListener method
Removes the listener which is triggered every time the status of the connection to the server changes.
Implementation
void removeOnConnectionChangeListener(OnConnectionChange listenerToRemove) {
return getIt.get<ConnectionService>().removeOnConnectionChange(listenerToRemove);
}