add abstract method

void add(
  1. dynamic data
)
override

Sends data on the WebSocket connection. The data in data must be either a String, or a List<int> holding bytes.

Implementation

void add(/*String|List<int>*/ data);