toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'object'] = this.object;
json[r'id'] = this.id;
json[r'name'] = this.name;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
json[r'slug'] = this.slug;
if (this.avatarUrl != null) {
json[r'avatar_url'] = this.avatarUrl;
} else {
json[r'avatar_url'] = null;
}
return json;
}