W2 class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
W2({PaystubEmployer? employer, Employee? employee, String? taxYear, String? employerIdNumber, String? wagesTipsOtherComp, String? federalIncomeTaxWithheld, String? socialSecurityWages, String? socialSecurityTaxWithheld, String? medicareWagesAndTips, String? medicareTaxWithheld, String? socialSecurityTips, String? allocatedTips, String? box9, String? dependentCareBenefits, String? nonqualifiedPlans, List<
W2Box12> ? box12, String? statutoryEmployee, String? retirementPlan, String? thirdPartySickPay, String? other, List<W2StateAndLocalWages> ? stateAndLocalWages}) -
W2.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allocatedTips → String?
-
final
-
box12
→ List<
W2Box12> ? -
final
- box9 → String?
-
final
- dependentCareBenefits → String?
-
final
- employee → Employee?
-
final
- employer → PaystubEmployer?
-
final
- employerIdNumber → String?
-
final
- federalIncomeTaxWithheld → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- medicareTaxWithheld → String?
-
final
- medicareWagesAndTips → String?
-
final
- nonqualifiedPlans → String?
-
final
- other → String?
-
final
- retirementPlan → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
-
final
-
final
-
stateAndLocalWages
→ List<
W2StateAndLocalWages> ? -
final
- statutoryEmployee → String?
-
final
- taxYear → String?
-
final
- thirdPartySickPay → String?
-
final
- wagesTipsOtherComp → String?
-
final
Methods
-
copyWith(
{PaystubEmployer? employer, Employee? employee, String? taxYear, String? employerIdNumber, String? wagesTipsOtherComp, String? federalIncomeTaxWithheld, String? socialSecurityWages, String? socialSecurityTaxWithheld, String? medicareWagesAndTips, String? medicareTaxWithheld, String? socialSecurityTips, String? allocatedTips, String? box9, String? dependentCareBenefits, String? nonqualifiedPlans, List< W2Box12> ? box12, String? statutoryEmployee, String? retirementPlan, String? thirdPartySickPay, String? other, List<W2StateAndLocalWages> ? stateAndLocalWages}) → W2 -
Available on W2, provided by the $W2Extension extension
-
copyWithWrapped(
{Wrapped< PaystubEmployer?> ? employer, Wrapped<Employee?> ? employee, Wrapped<String?> ? taxYear, Wrapped<String?> ? employerIdNumber, Wrapped<String?> ? wagesTipsOtherComp, Wrapped<String?> ? federalIncomeTaxWithheld, Wrapped<String?> ? socialSecurityWages, Wrapped<String?> ? socialSecurityTaxWithheld, Wrapped<String?> ? medicareWagesAndTips, Wrapped<String?> ? medicareTaxWithheld, Wrapped<String?> ? socialSecurityTips, Wrapped<String?> ? allocatedTips, Wrapped<String?> ? box9, Wrapped<String?> ? dependentCareBenefits, Wrapped<String?> ? nonqualifiedPlans, Wrapped<List< ? box12, Wrapped<W2Box12> ?>String?> ? statutoryEmployee, Wrapped<String?> ? retirementPlan, Wrapped<String?> ? thirdPartySickPay, Wrapped<String?> ? other, Wrapped<List< ? stateAndLocalWages}) → W2W2StateAndLocalWages> ?> -
Available on W2, provided by the $W2Extension 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 W2 Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(W2 instance)