addErrors method

void addErrors(
  1. CloseSocket socket
)

subscribe to error events

Implementation

void addErrors(CloseSocket socket) {
  _onErrors!.add((socket));
}