toJson method
Implementation
Map<String, Object?> toJson() {
var customFieldUsage = this.customFieldUsage;
var issueCountWithCustomFieldsShowingVersion =
this.issueCountWithCustomFieldsShowingVersion;
var issuesAffectedCount = this.issuesAffectedCount;
var issuesFixedCount = this.issuesFixedCount;
var self = this.self;
final json = <String, Object?>{};
json[r'customFieldUsage'] =
customFieldUsage.map((i) => i.toJson()).toList();
if (issueCountWithCustomFieldsShowingVersion != null) {
json[r'issueCountWithCustomFieldsShowingVersion'] =
issueCountWithCustomFieldsShowingVersion;
}
if (issuesAffectedCount != null) {
json[r'issuesAffectedCount'] = issuesAffectedCount;
}
if (issuesFixedCount != null) {
json[r'issuesFixedCount'] = issuesFixedCount;
}
if (self != null) {
json[r'self'] = self;
}
return json;
}