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