toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.dateCreated != null) {
json[r'date_created'] = this.dateCreated!.toUtc().toIso8601String();
} else {
json[r'date_created'] = null;
}
if (this.lastUpdated != null) {
json[r'last_updated'] = this.lastUpdated!.toUtc().toIso8601String();
} else {
json[r'last_updated'] = null;
}
if (this.aucId != null) {
json[r'auc_id'] = this.aucId;
} else {
json[r'auc_id'] = null;
}
json[r'auc_name'] = this.aucName;
if (this.slug != null) {
json[r'slug'] = this.slug;
} else {
json[r'slug'] = null;
}
if (this.aucDescription != null) {
json[r'auc_description'] = this.aucDescription;
} else {
json[r'auc_description'] = null;
}
return json;
}