kick method

bool kick(
  1. int id
)

Implementation

bool kick(int id) {
  final info = _server?.getConnectionInfo(id);
  if (info == null) return false;
  info.close();
  return true;
}