toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.action != null) {
json[r'action'] = this.action;
} else {
json[r'action'] = null;
}
if (this.blog != null) {
json[r'blog'] = this.blog;
} else {
json[r'blog'] = null;
}
if (this.category != null) {
json[r'category'] = this.category;
} else {
json[r'category'] = null;
}
if (this.enabled != null) {
json[r'enabled'] = this.enabled;
} else {
json[r'enabled'] = null;
}
if (this.era != null) {
json[r'era'] = this.era;
} else {
json[r'era'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.principle != null) {
json[r'principle'] = this.principle;
} else {
json[r'principle'] = null;
}
if (this.source_ != null) {
json[r'source'] = this.source_;
} else {
json[r'source'] = null;
}
json[r'tags'] = this.tags;
if (this.workload != null) {
json[r'workload'] = this.workload;
} else {
json[r'workload'] = null;
}
return json;
}