copyWith method

WebhookUpdateAcknowledgedWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. String? itemId,
  4. String? newWebhookUrl,
  5. Error? error,
})

Implementation

WebhookUpdateAcknowledgedWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    String? itemId,
    String? newWebhookUrl,
    Error? error}) {
  return WebhookUpdateAcknowledgedWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      itemId: itemId ?? this.itemId,
      newWebhookUrl: newWebhookUrl ?? this.newWebhookUrl,
      error: error ?? this.error);
}