Employee class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Employee({required PaystubAddress address, required String? name, String? maritalStatus, TaxpayerID? taxpayerId})
-
Employee.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → PaystubAddress
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maritalStatus → String?
-
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxpayerId → TaxpayerID?
-
final
Methods
-
copyWith(
{PaystubAddress? address, String? name, String? maritalStatus, TaxpayerID? taxpayerId}) → Employee -
Available on Employee, provided by the $EmployeeExtension extension
-
copyWithWrapped(
{Wrapped< PaystubAddress> ? address, Wrapped<String?> ? name, Wrapped<String?> ? maritalStatus, Wrapped<TaxpayerID?> ? taxpayerId}) → Employee -
Available on Employee, provided by the $EmployeeExtension 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 Employee Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Employee instance)