removeConnection method

  1. @protected
bool removeConnection(
  1. Channel id
)

Implementation

@protected
bool removeConnection(Channel id) {
  final info = _connections.remove(id);
  if (info == null) return false;
  _disconnectController.add((id, info));
  _changeController.add(clientConnections);
  return true;
}