copyWithWrapped method
AssetReportTransaction
copyWithWrapped({
- Wrapped<
String?> ? dateTransacted, - Wrapped<
CreditCategory?> ? creditCategory, - Wrapped<
AssetReportTransactionTransactionType?> ? transactionType, - Wrapped<
String?> ? pendingTransactionId, - Wrapped<
String?> ? categoryId, - Wrapped<
List< ? category,String> ?> - Wrapped<
Location?> ? location, - Wrapped<
PaymentMeta?> ? paymentMeta, - Wrapped<
String?> ? accountOwner, - Wrapped<
String?> ? name, - Wrapped<
String?> ? originalDescription, - Wrapped<
String> ? accountId, - Wrapped<
double> ? amount, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
String?> ? unofficialCurrencyCode, - Wrapped<
DateTime> ? date, - Wrapped<
bool> ? pending, - Wrapped<
String> ? transactionId, - Wrapped<
String?> ? merchantName, - Wrapped<
String?> ? checkNumber,
Implementation
AssetReportTransaction copyWithWrapped(
{Wrapped<String?>? dateTransacted,
Wrapped<CreditCategory?>? creditCategory,
Wrapped<enums.AssetReportTransactionTransactionType?>? transactionType,
Wrapped<String?>? pendingTransactionId,
Wrapped<String?>? categoryId,
Wrapped<List<String>?>? category,
Wrapped<Location?>? location,
Wrapped<PaymentMeta?>? paymentMeta,
Wrapped<String?>? accountOwner,
Wrapped<String?>? name,
Wrapped<String?>? originalDescription,
Wrapped<String>? accountId,
Wrapped<double>? amount,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode,
Wrapped<DateTime>? date,
Wrapped<bool>? pending,
Wrapped<String>? transactionId,
Wrapped<String?>? merchantName,
Wrapped<String?>? checkNumber}) {
return AssetReportTransaction(
dateTransacted: (dateTransacted != null
? dateTransacted.value
: this.dateTransacted),
creditCategory: (creditCategory != null
? creditCategory.value
: this.creditCategory),
transactionType: (transactionType != null
? transactionType.value
: this.transactionType),
pendingTransactionId: (pendingTransactionId != null
? pendingTransactionId.value
: this.pendingTransactionId),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
category: (category != null ? category.value : this.category),
location: (location != null ? location.value : this.location),
paymentMeta:
(paymentMeta != null ? paymentMeta.value : this.paymentMeta),
accountOwner:
(accountOwner != null ? accountOwner.value : this.accountOwner),
name: (name != null ? name.value : this.name),
originalDescription: (originalDescription != null
? originalDescription.value
: this.originalDescription),
accountId: (accountId != null ? accountId.value : this.accountId),
amount: (amount != null ? amount.value : this.amount),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode),
date: (date != null ? date.value : this.date),
pending: (pending != null ? pending.value : this.pending),
transactionId:
(transactionId != null ? transactionId.value : this.transactionId),
merchantName:
(merchantName != null ? merchantName.value : this.merchantName),
checkNumber:
(checkNumber != null ? checkNumber.value : this.checkNumber));
}