toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'messageId'] = this.messageId;
json[r'webhookId'] = this.webhookId;
if (this.webhookName != null) {
json[r'webhookName'] = this.webhookName;
} else {
json[r'webhookName'] = null;
}
json[r'eventName'] = this.eventName;
json[r'attachmentId'] = this.attachmentId;
json[r'name'] = this.name;
json[r'contentType'] = this.contentType;
json[r'contentLength'] = this.contentLength;
return json;
}