copyWith method
Implementation
PayStubEarningsTotal copyWith(
{double? currentAmount,
double? hours,
String? isoCurrencyCode,
String? unofficialCurrencyCode,
double? ytdAmount}) {
return PayStubEarningsTotal(
currentAmount: currentAmount ?? this.currentAmount,
hours: hours ?? this.hours,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
unofficialCurrencyCode:
unofficialCurrencyCode ?? this.unofficialCurrencyCode,
ytdAmount: ytdAmount ?? this.ytdAmount);
}