copyWithWrapped method
Implementation
Total copyWithWrapped(
{Wrapped<enums.TotalCanonicalDescription?>? canonicalDescription,
Wrapped<String?>? description,
Wrapped<Pay?>? currentPay,
Wrapped<Pay?>? ytdPay}) {
return Total(
canonicalDescription: (canonicalDescription != null
? canonicalDescription.value
: this.canonicalDescription),
description:
(description != null ? description.value : this.description),
currentPay: (currentPay != null ? currentPay.value : this.currentPay),
ytdPay: (ytdPay != null ? ytdPay.value : this.ytdPay));
}