copyWith method

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

Implementation

WebhookUpdateAcknowledgedWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    String? itemId,
    String? newWebhookUrl,
    PlaidError? error,
    enums.WebhookEnvironmentValues? environment}) {
  return WebhookUpdateAcknowledgedWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      itemId: itemId ?? this.itemId,
      newWebhookUrl: newWebhookUrl ?? this.newWebhookUrl,
      error: error ?? this.error,
      environment: environment ?? this.environment);
}