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