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