copyWithWrapped method
IdentityDefaultUpdateWebhook
copyWithWrapped({
- Wrapped<
String> ? webhookType, - Wrapped<
String> ? webhookCode, - Wrapped<
String> ? itemId, - Wrapped<
AccountIdsWithUpdatedIdentity> ? accountIdsWithUpdatedIdentity, - Wrapped<
PlaidError?> ? error, - Wrapped<
WebhookEnvironmentValues> ? environment,
Implementation
IdentityDefaultUpdateWebhook copyWithWrapped(
{Wrapped<String>? webhookType,
Wrapped<String>? webhookCode,
Wrapped<String>? itemId,
Wrapped<AccountIdsWithUpdatedIdentity>? accountIdsWithUpdatedIdentity,
Wrapped<PlaidError?>? error,
Wrapped<enums.WebhookEnvironmentValues>? environment}) {
return IdentityDefaultUpdateWebhook(
webhookType:
(webhookType != null ? webhookType.value : this.webhookType),
webhookCode:
(webhookCode != null ? webhookCode.value : this.webhookCode),
itemId: (itemId != null ? itemId.value : this.itemId),
accountIdsWithUpdatedIdentity: (accountIdsWithUpdatedIdentity != null
? accountIdsWithUpdatedIdentity.value
: this.accountIdsWithUpdatedIdentity),
error: (error != null ? error.value : this.error),
environment:
(environment != null ? environment.value : this.environment));
}