Webhook_ constructor

Webhook_({
  1. WebhookId_? webhookId,
  2. String? topicName,
  3. WebhookDestination_? destination,
})

Implementation

factory Webhook_({
  WebhookId_? webhookId,
  $core.String? topicName,
  WebhookDestination_? destination,
}) {
  final $result = create();
  if (webhookId != null) {
    $result.webhookId = webhookId;
  }
  if (topicName != null) {
    $result.topicName = topicName;
  }
  if (destination != null) {
    $result.destination = destination;
  }
  return $result;
}