send method

void send(
  1. dynamic data
)

send data to the websocket channel

Implementation

void send(dynamic data) {
  return webSocketChannel.sink.add(data);
}