WebHookSubscription constructor

WebHookSubscription({
  1. String? eventType,
  2. String? callbackUrl,
})

Implementation

factory WebHookSubscription({
  $core.String? eventType,
  $core.String? callbackUrl,
}) {
  final result = create();
  if (eventType != null) result.eventType = eventType;
  if (callbackUrl != null) result.callbackUrl = callbackUrl;
  return result;
}