add method

void add(
  1. Uint8List bytes
)

will pass the given bytes directly to the Socket.add method Note: you should probably use send instead.

Implementation

void add(Uint8List bytes) => _socket?.add(bytes);