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