toJson method

Map<String, dynamic> toJson()

Implementation

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