toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.body != null) {
json[r'body'] = this.body;
} else {
json[r'body'] = null;
}
if (this.category != null) {
json[r'category'] = this.category;
} else {
json[r'category'] = null;
}
if (this.contentType != null) {
json[r'contentType'] = this.contentType;
} else {
json[r'contentType'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.esignProvider != null) {
json[r'esignProvider'] = this.esignProvider;
} else {
json[r'esignProvider'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.signedAt != null) {
json[r'signedAt'] = this.signedAt;
} else {
json[r'signedAt'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.templateId != null) {
json[r'templateId'] = this.templateId;
} else {
json[r'templateId'] = null;
}
if (this.templateVersion != null) {
json[r'templateVersion'] = this.templateVersion;
} else {
json[r'templateVersion'] = null;
}
if (this.title != null) {
json[r'title'] = this.title;
} else {
json[r'title'] = null;
}
if (this.updatedAt != null) {
json[r'updatedAt'] = this.updatedAt;
} else {
json[r'updatedAt'] = null;
}
return json;
}