copyWith method

WebhookRegistrationDetails copyWith({
  1. String? url,
  2. List<WebhookDetails>? webhooks,
})

Implementation

WebhookRegistrationDetails copyWith(
    {String? url, List<WebhookDetails>? webhooks}) {
  return WebhookRegistrationDetails(
    url: url ?? this.url,
    webhooks: webhooks ?? this.webhooks,
  );
}