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