copyWithWrapped method
Implementation
CreditBankIncomeTransaction copyWithWrapped(
{Wrapped<double?>? amount,
Wrapped<DateTime?>? date,
Wrapped<String?>? name,
Wrapped<String?>? originalDescription,
Wrapped<bool?>? pending,
Wrapped<String?>? transactionId,
Wrapped<String?>? checkNumber,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode}) {
return CreditBankIncomeTransaction(
amount: (amount != null ? amount.value : this.amount),
date: (date != null ? date.value : this.date),
name: (name != null ? name.value : this.name),
originalDescription: (originalDescription != null
? originalDescription.value
: this.originalDescription),
pending: (pending != null ? pending.value : this.pending),
transactionId:
(transactionId != null ? transactionId.value : this.transactionId),
checkNumber:
(checkNumber != null ? checkNumber.value : this.checkNumber),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode));
}