copyWithWrapped method
Implementation
HoldingsDefaultUpdateWebhook copyWithWrapped(
{Wrapped<String>? webhookType,
Wrapped<String>? webhookCode,
Wrapped<String>? itemId,
Wrapped<PlaidError?>? error,
Wrapped<double>? newHoldings,
Wrapped<double>? updatedHoldings,
Wrapped<enums.WebhookEnvironmentValues>? environment}) {
return HoldingsDefaultUpdateWebhook(
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),
newHoldings:
(newHoldings != null ? newHoldings.value : this.newHoldings),
updatedHoldings: (updatedHoldings != null
? updatedHoldings.value
: this.updatedHoldings),
environment:
(environment != null ? environment.value : this.environment));
}