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