removeListener method

void removeListener(
  1. void listener()
)

Removes listener from the handler.

Implementation

void removeListener(void Function() listener) => _listeners.remove(listener);