emit method

void emit(
  1. Object? frame
)

Delivers frame to the hub, as the far end would.

Implementation

void emit(Object? frame) {
  if (_incoming.isClosed) return;
  _incoming.add(frame);
}