addListener method

void addListener(
  1. WindowListener listener
)

Add a listener to the window.

Implementation

void addListener(WindowListener listener) {
  _listeners.add(listener);
}