CreateWebhookRequest constructor

CreateWebhookRequest({
  1. String? parent,
  2. Webhook? webhook,
})

Implementation

factory CreateWebhookRequest({
  $core.String? parent,
  Webhook? webhook,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (webhook != null) {
    _result.webhook = webhook;
  }
  return _result;
}