copyWithWrapped method
Implementation
InvoiceResponseModel copyWithWrapped(
{Wrapped<int>? amountDueCents,
Wrapped<dynamic>? discountPercentOff,
Wrapped<int>? nextPaymentAttemptUnix}) {
return InvoiceResponseModel(
amountDueCents: (amountDueCents != null
? amountDueCents.value
: this.amountDueCents),
discountPercentOff: (discountPercentOff != null
? discountPercentOff.value
: this.discountPercentOff),
nextPaymentAttemptUnix: (nextPaymentAttemptUnix != null
? nextPaymentAttemptUnix.value
: this.nextPaymentAttemptUnix));
}