toJson method
Implementation
Map<String, Object?> toJson() {
var aboveLevelId = this.aboveLevelId;
var belowLevelId = this.belowLevelId;
var externalUuid = this.externalUuid;
var hierarchyLevelNumber = this.hierarchyLevelNumber;
var id = this.id;
var issueTypeIds = this.issueTypeIds;
var level = this.level;
var name = this.name;
var projectConfigurationId = this.projectConfigurationId;
final json = <String, Object?>{};
if (aboveLevelId != null) {
json[r'aboveLevelId'] = aboveLevelId;
}
if (belowLevelId != null) {
json[r'belowLevelId'] = belowLevelId;
}
if (externalUuid != null) {
json[r'externalUuid'] = externalUuid;
}
if (hierarchyLevelNumber != null) {
json[r'hierarchyLevelNumber'] = hierarchyLevelNumber;
}
if (id != null) {
json[r'id'] = id;
}
json[r'issueTypeIds'] = issueTypeIds;
if (level != null) {
json[r'level'] = level;
}
if (name != null) {
json[r'name'] = name;
}
if (projectConfigurationId != null) {
json[r'projectConfigurationId'] = projectConfigurationId;
}
return json;
}