addCloses method

void addCloses(
  1. CloseSocket socket
)

subscribe to close events

Implementation

void addCloses(CloseSocket socket) {
  _onCloses!.add(socket);
}