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