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