ApproversModel constructor
const
ApproversModel({})
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,
});