Paystub class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Paystub({required Deductions deductions, required String docId, required Earnings earnings, required Employee employee, required PaystubEmployer employer, EmploymentDetails? employmentDetails, required NetPay netPay, required PayPeriodDetails payPeriodDetails, PaystubDetails? paystubDetails, List<IncomeBreakdown>? incomeBreakdown, PaystubYTDDetails? ytdEarnings})
Paystub.fromJson(Map<String, dynamic> json)
factory

Properties

deductions Deductions
final
docId String
final
earnings Earnings
final
employee Employee
final
employer PaystubEmployer
final
employmentDetails EmploymentDetails?
final
hashCode int
The hash code for this object.
no setteroverride
incomeBreakdown List<IncomeBreakdown>?
final
netPay NetPay
final
payPeriodDetails PayPeriodDetails
final
paystubDetails PaystubDetails?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ytdEarnings PaystubYTDDetails?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const Paystub Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Paystub instance)