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