copyWithWrapped method
Implementation
TransactionData copyWithWrapped(
{Wrapped<String>? description,
Wrapped<double>? amount,
Wrapped<DateTime>? date,
Wrapped<String>? accountId,
Wrapped<String>? transactionId}) {
return TransactionData(
description:
(description != null ? description.value : this.description),
amount: (amount != null ? amount.value : this.amount),
date: (date != null ? date.value : this.date),
accountId: (accountId != null ? accountId.value : this.accountId),
transactionId:
(transactionId != null ? transactionId.value : this.transactionId));
}