WebhookFilter.fromJson constructor
Implementation
factory WebhookFilter.fromJson(Map<String, dynamic> json) {
return WebhookFilter(
pattern: json['pattern'] as String,
type: (json['type'] as String).toWebhookFilterType(),
excludeMatchedPattern: json['excludeMatchedPattern'] as bool?,
);
}