toJson method
Implementation
Map<String, Object?> toJson() {
var assigneeType = this.assigneeType;
var avatarId = this.avatarId;
var categoryId = this.categoryId;
var description = this.description;
var issueSecurityScheme = this.issueSecurityScheme;
var key = this.key;
var lead = this.lead;
var leadAccountId = this.leadAccountId;
var name = this.name;
var notificationScheme = this.notificationScheme;
var permissionScheme = this.permissionScheme;
var url = this.url;
final json = <String, Object?>{};
if (assigneeType != null) {
json[r'assigneeType'] = assigneeType.value;
}
if (avatarId != null) {
json[r'avatarId'] = avatarId;
}
if (categoryId != null) {
json[r'categoryId'] = categoryId;
}
if (description != null) {
json[r'description'] = description;
}
if (issueSecurityScheme != null) {
json[r'issueSecurityScheme'] = issueSecurityScheme;
}
if (key != null) {
json[r'key'] = key;
}
if (lead != null) {
json[r'lead'] = lead;
}
if (leadAccountId != null) {
json[r'leadAccountId'] = leadAccountId;
}
if (name != null) {
json[r'name'] = name;
}
if (notificationScheme != null) {
json[r'notificationScheme'] = notificationScheme;
}
if (permissionScheme != null) {
json[r'permissionScheme'] = permissionScheme;
}
if (url != null) {
json[r'url'] = url;
}
return json;
}