copyWith method

HoldingsDefaultUpdateWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. String? itemId,
  4. PlaidError? error,
  5. double? newHoldings,
  6. double? updatedHoldings,
  7. 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);
}