copyWithWrapped method

TransactionsRemovedWebhook copyWithWrapped({
  1. Wrapped<String>? webhookType,
  2. Wrapped<String>? webhookCode,
  3. Wrapped<PlaidError?>? error,
  4. Wrapped<List<String>>? removedTransactions,
  5. Wrapped<String>? itemId,
  6. Wrapped<WebhookEnvironmentValues>? environment,
})

Implementation

TransactionsRemovedWebhook copyWithWrapped(
    {Wrapped<String>? webhookType,
    Wrapped<String>? webhookCode,
    Wrapped<PlaidError?>? error,
    Wrapped<List<String>>? removedTransactions,
    Wrapped<String>? itemId,
    Wrapped<enums.WebhookEnvironmentValues>? environment}) {
  return TransactionsRemovedWebhook(
      webhookType:
          (webhookType != null ? webhookType.value : this.webhookType),
      webhookCode:
          (webhookCode != null ? webhookCode.value : this.webhookCode),
      error: (error != null ? error.value : this.error),
      removedTransactions: (removedTransactions != null
          ? removedTransactions.value
          : this.removedTransactions),
      itemId: (itemId != null ? itemId.value : this.itemId),
      environment:
          (environment != null ? environment.value : this.environment));
}