on method

void on(
  1. String event,
  2. dynamic callback
)

Implementation

external void on(String event, callback);