core.Map<core.String, core.dynamic> toJson() => { if (defaultToCurrentSpace != null) 'defaultToCurrentSpace': defaultToCurrentSpace!, };