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