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