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