copyWithWrapped method
CreditCardLiability
copyWithWrapped({
- Wrapped<
String?> ? accountId, - Wrapped<
List< ? aprs,Apr> > - Wrapped<
bool?> ? isOverdue, - Wrapped<
double?> ? lastPaymentAmount, - Wrapped<
DateTime?> ? lastPaymentDate, - Wrapped<
DateTime?> ? lastStatementIssueDate, - Wrapped<
double?> ? lastStatementBalance, - Wrapped<
double?> ? minimumPaymentAmount, - Wrapped<
DateTime?> ? nextPaymentDueDate,
Implementation
CreditCardLiability copyWithWrapped(
{Wrapped<String?>? accountId,
Wrapped<List<Apr>>? aprs,
Wrapped<bool?>? isOverdue,
Wrapped<double?>? lastPaymentAmount,
Wrapped<DateTime?>? lastPaymentDate,
Wrapped<DateTime?>? lastStatementIssueDate,
Wrapped<double?>? lastStatementBalance,
Wrapped<double?>? minimumPaymentAmount,
Wrapped<DateTime?>? nextPaymentDueDate}) {
return CreditCardLiability(
accountId: (accountId != null ? accountId.value : this.accountId),
aprs: (aprs != null ? aprs.value : this.aprs),
isOverdue: (isOverdue != null ? isOverdue.value : this.isOverdue),
lastPaymentAmount: (lastPaymentAmount != null
? lastPaymentAmount.value
: this.lastPaymentAmount),
lastPaymentDate: (lastPaymentDate != null
? lastPaymentDate.value
: this.lastPaymentDate),
lastStatementIssueDate: (lastStatementIssueDate != null
? lastStatementIssueDate.value
: this.lastStatementIssueDate),
lastStatementBalance: (lastStatementBalance != null
? lastStatementBalance.value
: this.lastStatementBalance),
minimumPaymentAmount: (minimumPaymentAmount != null
? minimumPaymentAmount.value
: this.minimumPaymentAmount),
nextPaymentDueDate: (nextPaymentDueDate != null
? nextPaymentDueDate.value
: this.nextPaymentDueDate));
}