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