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