copyWith method

TransactionsRemovedWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. Error? error,
  4. List<String>? removedTransactions,
  5. String? itemId,
})

Implementation

TransactionsRemovedWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    Error? error,
    List<String>? removedTransactions,
    String? itemId}) {
  return TransactionsRemovedWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      error: error ?? this.error,
      removedTransactions: removedTransactions ?? this.removedTransactions,
      itemId: itemId ?? this.itemId);
}