WebhookClientConfig.fromJson constructor

WebhookClientConfig.fromJson(
  1. Map<String, dynamic> json
)

Creates a WebhookClientConfig from JSON data.

Implementation

WebhookClientConfig.fromJson(Map<String, dynamic> json)
    : this(
        caBundle: json['caBundle'],
        service: json['service'] != null
            ? ServiceReference.fromJson(json['service'])
            : null,
        url: json['url'],
      );