PayrollItem class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

PayrollItem({required String itemId, required String institutionId, required String institutionName, required List<PayrollIncomeAccountData> accounts, required List<PayrollIncomeObject> payrollIncome, required PayrollItemStatus? status, required DateTime? updatedAt})
PayrollItem.fromJson(Map<String, dynamic> json)
factory

Properties

accounts List<PayrollIncomeAccountData>
final
hashCode int
The hash code for this object.
no setteroverride
institutionId String
final
institutionName String
final
itemId String
final
payrollIncome List<PayrollIncomeObject>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PayrollItemStatus?
final
updatedAt DateTime?
final

Methods

copyWith({String? itemId, String? institutionId, String? institutionName, List<PayrollIncomeAccountData>? accounts, List<PayrollIncomeObject>? payrollIncome, PayrollItemStatus? status, DateTime? updatedAt}) PayrollItem

Available on PayrollItem, provided by the $PayrollItemExtension extension

copyWithWrapped({Wrapped<String>? itemId, Wrapped<String>? institutionId, Wrapped<String>? institutionName, Wrapped<List<PayrollIncomeAccountData>>? accounts, Wrapped<List<PayrollIncomeObject>>? payrollIncome, Wrapped<PayrollItemStatus?>? status, Wrapped<DateTime?>? updatedAt}) PayrollItem

Available on PayrollItem, provided by the $PayrollItemExtension extension

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 PayrollItem Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(PayrollItem instance)