copyWith method
Implementation
PaystubYTDDetails copyWith({double? grossEarnings, double? netEarnings}) {
return PaystubYTDDetails(
grossEarnings: grossEarnings ?? this.grossEarnings,
netEarnings: netEarnings ?? this.netEarnings);
}
PaystubYTDDetails copyWith({double? grossEarnings, double? netEarnings}) {
return PaystubYTDDetails(
grossEarnings: grossEarnings ?? this.grossEarnings,
netEarnings: netEarnings ?? this.netEarnings);
}