toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var createdWebhookId = this.createdWebhookId;
  var errors = this.errors;

  final json = <String, Object?>{};
  if (createdWebhookId != null) {
    json[r'createdWebhookId'] = createdWebhookId;
  }
  json[r'errors'] = errors;
  return json;
}