copyWith method

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