addListener method

dynamic addListener(
  1. Function callback
)

Implementation

addListener(Function callback) {
  _listeners.add(callback);
}