add method
Throws AtIOException, sending nothing, once the socket is not OPEN.
Implementation
@override
void add(List<int> bytes) {
if (_closed || !_port.isOpen) {
throw AtIOException('WebSocket to $description is closed');
}
_port.send(bytes is Uint8List ? bytes : Uint8List.fromList(bytes));
}