add method

  1. @override
void add(
  1. Object data
)
override

Sends one frame: a String or a List<int>.

Silently dropped once the link is closed, as a WebSocket sink would.

Implementation

@override
void add(Object data) {
  if (_closed) return;
  _channel.sink.add(data);
}