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