on method

void on(
  1. String event,
  2. MessageSocket message
)

Implementation

void on(String event, MessageSocket message) {
  socketNotifier!.addEvents(event, message);
}