copyWithWrapped method
ItemErrorWebhook
copyWithWrapped({
- Wrapped<
String> ? webhookType, - Wrapped<
String> ? webhookCode, - Wrapped<
String> ? itemId, - Wrapped<
PlaidError?> ? error, - Wrapped<
WebhookEnvironmentValues> ? environment,
Implementation
ItemErrorWebhook copyWithWrapped(
{Wrapped<String>? webhookType,
Wrapped<String>? webhookCode,
Wrapped<String>? itemId,
Wrapped<PlaidError?>? error,
Wrapped<enums.WebhookEnvironmentValues>? environment}) {
return ItemErrorWebhook(
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));
}