addListener method

void addListener(
  1. dynamic eventName,
  2. Function listener
)

Implementation

external void addListener(eventName, Function listener);