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