factory CloseEventInit({bool? wasClean, int? code, String? reason}) => CloseEventInit._( wasClean: wasClean ?? false, code: code ?? 0, reason: reason ?? '');