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;
json[r'key'] = this.key;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
json[r'is_creator_eligible'] = this.isCreatorEligible;
json[r'permissions'] = this.permissions;
json[r'created_at'] = this.createdAt;
json[r'updated_at'] = this.updatedAt;
return json;
}