copyWith method

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

Implementation

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