send method

  1. @override
dynamic send(
  1. String data
)
override

Called when you want to send data to websocket A string data in expected

Implementation

@override
send(String data) {
  _socket?.add(data);
}