on method
Implementation
void on(String event, MessageSocket message) {
throw Exception('To use sockets you need dart:io or dart:html');
}
void on(String event, MessageSocket message) {
throw Exception('To use sockets you need dart:io or dart:html');
}