ApprovalDTO class
Constructors
-
ApprovalDTO({SelfLinkDTO? links, List<
ApproverDTO> ? approvers, bool? canAnswerApproval, DateDTO? completedDate, DateDTO? createdDate, ApprovalDTOFinalDecision? finalDecision, String? id, String? name}) -
ApprovalDTO.fromJson(Map<
String, Object?> json) -
factory
Properties
-
approvers
→ List<
ApproverDTO> -
Detailed list of the users who must provide a response to the approval.
final
- canAnswerApproval → bool
-
Indicates whether the user making the request is one of the approvers and
can respond to the approval (true) or not (false).
final
- completedDate → DateDTO?
-
Date the approval was completed.
final
- createdDate → DateDTO?
-
Date the approval was created.
final
- finalDecision → ApprovalDTOFinalDecision?
-
Outcome of the approval, based on the approvals provided by all approvers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
ID of the approval.
final
- links → SelfLinkDTO?
-
The REST API URL of the approval.
final
- name → String?
-
Description of the approval being sought or provided.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{SelfLinkDTO? links, List< ApproverDTO> ? approvers, bool? canAnswerApproval, DateDTO? completedDate, DateDTO? createdDate, ApprovalDTOFinalDecision? finalDecision, String? id, String? name}) → ApprovalDTO -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited