copyWithWrapped method
Implementation
TransactionOverride copyWithWrapped(
{Wrapped<DateTime>? dateTransacted,
Wrapped<DateTime>? datePosted,
Wrapped<double>? amount,
Wrapped<String>? description,
Wrapped<String?>? currency}) {
return TransactionOverride(
dateTransacted: (dateTransacted != null
? dateTransacted.value
: this.dateTransacted),
datePosted: (datePosted != null ? datePosted.value : this.datePosted),
amount: (amount != null ? amount.value : this.amount),
description:
(description != null ? description.value : this.description),
currency: (currency != null ? currency.value : this.currency));
}