ApprovalRequestDetailDataModel class

The ApprovalRequestDetailDataModel class represents the detailed data of an approval request.

Constructors

ApprovalRequestDetailDataModel({required int id, required String requesterName, String? requesterImage, required String requesterDesignation, required String requesterPlacement, required String type, required bool isApprovable, required ApprovalRequestType status, required String statusLabel, required MetaDataApprovalModel metaData, required List<ApproversModel> approvers})
const
ApprovalRequestDetailDataModel.fromJson(Map<String, dynamic> json)
Creates an instance of the ApprovalRequestDetailDataModel class from a JSON map.
factory

Properties

approvers List<ApproversModel>
The list of approvers associated with the approval request.
final
hashCode int
The hash code for this object.
no setterinherited
id int
The unique identifier of the approval request.
final
isApprovable bool
Indicates whether the approval request is approvable.
final
metaData MetaDataApprovalModel
The metadata of the approval request.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
requesterDesignation String
The designation of the requester.
final
requesterImage String?
The image of the requester.
final
requesterName String
The name of the requester.
final
requesterPlacement String
The placement of the requester.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ApprovalRequestType
The status of the approval request.
final
statusLabel String
The label corresponding to the status of the approval request.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type String
The type of the approval request.
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