copyWith method
InvestmentsDefaultUpdateWebhook
copyWith({
- String? webhookType,
- String? webhookCode,
- String? itemId,
- PlaidError? error,
- double? newInvestmentsTransactions,
- double? canceledInvestmentsTransactions,
- WebhookEnvironmentValues? environment,
Implementation
InvestmentsDefaultUpdateWebhook copyWith(
{String? webhookType,
String? webhookCode,
String? itemId,
PlaidError? error,
double? newInvestmentsTransactions,
double? canceledInvestmentsTransactions,
enums.WebhookEnvironmentValues? environment}) {
return InvestmentsDefaultUpdateWebhook(
webhookType: webhookType ?? this.webhookType,
webhookCode: webhookCode ?? this.webhookCode,
itemId: itemId ?? this.itemId,
error: error ?? this.error,
newInvestmentsTransactions:
newInvestmentsTransactions ?? this.newInvestmentsTransactions,
canceledInvestmentsTransactions: canceledInvestmentsTransactions ??
this.canceledInvestmentsTransactions,
environment: environment ?? this.environment);
}