toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.caseStudy != null) {
json[r'caseStudy'] = this.caseStudy;
} else {
json[r'caseStudy'] = null;
}
if (this.how != null) {
json[r'how'] = this.how;
} else {
json[r'how'] = null;
}
if (this.slug != null) {
json[r'slug'] = this.slug;
} else {
json[r'slug'] = null;
}
if (this.title != null) {
json[r'title'] = this.title;
} else {
json[r'title'] = null;
}
if (this.why != null) {
json[r'why'] = this.why;
} else {
json[r'why'] = null;
}
return json;
}