removeOnConnectionChangeListener method

void removeOnConnectionChangeListener(
  1. OnConnectionChange listenerToRemove
)

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);
}