copyWith method

Implementation

CreditPayStubEarnings copyWith(
    {List<PayStubEarningsBreakdown>? breakdown,
    PayStubEarningsTotal? total}) {
  return CreditPayStubEarnings(
      breakdown: breakdown ?? this.breakdown, total: total ?? this.total);
}