copyWithWrapped method
Implementation
EarningsBreakdown copyWithWrapped(
{Wrapped<enums.EarningsBreakdownCanonicalDescription?>?
canonicalDescription,
Wrapped<double?>? currentAmount,
Wrapped<String?>? description,
Wrapped<double?>? hours,
Wrapped<String?>? isoCurrencyCode,
Wrapped<double?>? rate,
Wrapped<String?>? unofficialCurrencyCode,
Wrapped<double?>? ytdAmount}) {
return EarningsBreakdown(
canonicalDescription: (canonicalDescription != null
? canonicalDescription.value
: this.canonicalDescription),
currentAmount:
(currentAmount != null ? currentAmount.value : this.currentAmount),
description:
(description != null ? description.value : this.description),
hours: (hours != null ? hours.value : this.hours),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
rate: (rate != null ? rate.value : this.rate),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode),
ytdAmount: (ytdAmount != null ? ytdAmount.value : this.ytdAmount));
}