Paystub constructor

Paystub({
  1. required Deductions deductions,
  2. required String docId,
  3. required Earnings earnings,
  4. required Employee employee,
  5. required PaystubEmployer employer,
  6. EmploymentDetails? employmentDetails,
  7. required NetPay netPay,
  8. required PayPeriodDetails payPeriodDetails,
  9. PaystubDetails? paystubDetails,
  10. List<IncomeBreakdown>? incomeBreakdown,
  11. PaystubYTDDetails? ytdEarnings,
})

Implementation

Paystub({
  required this.deductions,
  required this.docId,
  required this.earnings,
  required this.employee,
  required this.employer,
  this.employmentDetails,
  required this.netPay,
  required this.payPeriodDetails,
  this.paystubDetails,
  this.incomeBreakdown,
  this.ytdEarnings,
});