toJson method
Implementation
Map<String, dynamic> toJson() {
final commitId = this.commitId;
final generatedBy = this.generatedBy;
final projectId = this.projectId;
final repository = this.repository;
return {
if (commitId != null) 'CommitId': commitId,
if (generatedBy != null) 'GeneratedBy': generatedBy,
if (projectId != null) 'ProjectId': projectId,
if (repository != null) 'Repository': repository,
};
}