BonusPayment class
An object representing a Bonus payment paid to a Worker.
Constructors
- BonusPayment({String? assignmentId, String? bonusAmount, DateTime? grantTime, String? reason, String? workerId})
-
BonusPayment.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assignmentId → String?
-
The ID of the assignment associated with this bonus payment.
final
- bonusAmount → String?
-
final
- grantTime → DateTime?
-
The date and time of when the bonus was granted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
The Reason text given when the bonus was granted, if any.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerId → String?
-
The ID of the Worker to whom the bonus was paid.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited