toJson method
Implementation
Map<String, Object?> toJson() {
var avatarUrls = this.avatarUrls;
var expand = this.expand;
var id = this.id;
var issuetypes = this.issuetypes;
var key = this.key;
var name = this.name;
var self = this.self;
final json = <String, Object?>{};
if (avatarUrls != null) {
json[r'avatarUrls'] = avatarUrls.toJson();
}
if (expand != null) {
json[r'expand'] = expand;
}
if (id != null) {
json[r'id'] = id;
}
json[r'issuetypes'] = issuetypes.map((i) => i.toJson()).toList();
if (key != null) {
json[r'key'] = key;
}
if (name != null) {
json[r'name'] = name;
}
if (self != null) {
json[r'self'] = self;
}
return json;
}