BonusPayment.fromJson constructor
Implementation
factory BonusPayment.fromJson(Map<String, dynamic> json) {
return BonusPayment(
assignmentId: json['AssignmentId'] as String?,
bonusAmount: json['BonusAmount'] as String?,
grantTime: timeStampFromJson(json['GrantTime']),
reason: json['Reason'] as String?,
workerId: json['WorkerId'] as String?,
);
}