ApproversModel constructor

const ApproversModel({
  1. required int userId,
  2. required String approverName,
  3. String? approverImage,
  4. required String designation,
  5. required String status,
  6. required String statusLabel,
  7. required String? reason,
  8. required String? timestamp,
  9. required String? timestampGmt,
})

Creates an instance of the ApproversModel class.

The userId parameter represents the ID of the user. The approverName parameter represents the name of the approver. The approverImage parameter represents the image URL of the approver. The designation parameter represents the designation of the approver. The status parameter represents the status of the approval. The statusLabel parameter represents the label of the approval status. The reason parameter represents the reason for the approval. The timestamp parameter represents the timestamp of the approval. The timestampGmt parameter represents the GMT timestamp of the approval.

Implementation

const ApproversModel({
  required this.userId,
  required this.approverName,
  this.approverImage,
  required this.designation,
  required this.status,
  required this.statusLabel,
  required this.reason,
  required this.timestamp,
  required this.timestampGmt,
});