toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.brief != null) {
json[r'brief'] = this.brief;
} else {
json[r'brief'] = null;
}
if (this.channels != null) {
json[r'channels'] = this.channels;
} else {
json[r'channels'] = null;
}
if (this.design != null) {
json[r'design'] = this.design;
} else {
json[r'design'] = null;
}
if (this.doctype != null) {
json[r'doctype'] = this.doctype;
} else {
json[r'doctype'] = null;
}
if (this.kind != null) {
json[r'kind'] = this.kind;
} else {
json[r'kind'] = null;
}
if (this.model != null) {
json[r'model'] = this.model;
} else {
json[r'model'] = null;
}
if (this.product != null) {
json[r'product'] = this.product;
} else {
json[r'product'] = null;
}
if (this.project != null) {
json[r'project'] = this.project;
} else {
json[r'project'] = null;
}
if (this.sourceMedia != null) {
json[r'source_media'] = this.sourceMedia;
} else {
json[r'source_media'] = null;
}
if (this.title != null) {
json[r'title'] = this.title;
} else {
json[r'title'] = null;
}
if (this.tone != null) {
json[r'tone'] = this.tone;
} else {
json[r'tone'] = null;
}
if (this.voice != null) {
json[r'voice'] = this.voice;
} else {
json[r'voice'] = null;
}
return json;
}