send method
Implementation
void send(String data) {
logger.i('Send command \n' + data);
try {
_socket?.sink.add(data);
} catch (e) {
throw WebSocketError(message: e.toString());
}
}
void send(String data) {
logger.i('Send command \n' + data);
try {
_socket?.sink.add(data);
} catch (e) {
throw WebSocketError(message: e.toString());
}
}