emit method

void emit(
  1. String event,
  2. dynamic data
)
inherited

Implementation

void emit(String event, dynamic data) {
  throw 'To use sockets you need dart:io or dart:html';
}