copyWith method

HistoricalUpdateWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. PlaidError? error,
  4. double? newTransactions,
  5. String? itemId,
  6. WebhookEnvironmentValues? environment,
})

Implementation

HistoricalUpdateWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    PlaidError? error,
    double? newTransactions,
    String? itemId,
    enums.WebhookEnvironmentValues? environment}) {
  return HistoricalUpdateWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      error: error ?? this.error,
      newTransactions: newTransactions ?? this.newTransactions,
      itemId: itemId ?? this.itemId,
      environment: environment ?? this.environment);
}