toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  return {
    if (branch != null) 'branch': branch,
    if (message != null) 'message': message,
    'includeScopes': includeScopes,
    if (includeCommitId != null) 'includeCommitId': includeCommitId,
    if (linkToCommits != null) 'linkToCommits': linkToCommits,
    'updateGitTagRefs': updateGitTagRefs,
    'aggregateChangelogs':
        aggregateChangelogs.map((config) => config.toJson()).toList(),
  };
}