Socket(this.io, this.nsp, this._opts) { if (_opts != null) { query = _opts!['query']; auth = _opts!['auth']; } _opts ??= {}; if (io.autoConnect) open(); }