Side constructor

Side(
  1. Socket socket,
  2. bool isSideA, {
  3. SocketAuthVerifier? socketAuthVerifier,
  4. DataTransformer? transformer,
})

Implementation

Side(this.socket, this.isSideA, {this.socketAuthVerifier, this.transformer}) {
  sink = socket;
  stream = socket;
}