toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'url'] = url;
  json[r'webhooks'] = webhooks.map((i) => i.toJson()).toList();
  return json;
}