copyWith method
Implementation
CreditBankIncomeTransaction copyWith(
{double? amount,
DateTime? date,
String? name,
String? originalDescription,
bool? pending,
String? transactionId,
String? checkNumber,
String? isoCurrencyCode,
String? unofficialCurrencyCode}) {
return CreditBankIncomeTransaction(
amount: amount ?? this.amount,
date: date ?? this.date,
name: name ?? this.name,
originalDescription: originalDescription ?? this.originalDescription,
pending: pending ?? this.pending,
transactionId: transactionId ?? this.transactionId,
checkNumber: checkNumber ?? this.checkNumber,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
unofficialCurrencyCode:
unofficialCurrencyCode ?? this.unofficialCurrencyCode);
}