removeListener method

void removeListener(
  1. ControllerSubscriber<T> listener
)

Removes a listener from the list of listeners.

This method is a wrapper around ControllerWatcher.removeListener. listener is the listener to be removed.

Implementation

void removeListener(ControllerSubscriber<T> listener) {
  ControllerWatcher<T>().removeListener(listener);
}