factory WebSocket( _i2.Object url, [ _i2.Object? protocols, ]) => _i4.callConstructor( _declaredWebSocket, [ url, protocols ?? _i6.undefined, ], );