ApprovalDTO constructor
ApprovalDTO({
- SelfLinkDTO? links,
- List<
ApproverDTO> ? approvers, - bool? canAnswerApproval,
- DateDTO? completedDate,
- DateDTO? createdDate,
- ApprovalDTOFinalDecision? finalDecision,
- String? id,
- String? name,
Implementation
ApprovalDTO(
{this.links,
List<ApproverDTO>? approvers,
bool? canAnswerApproval,
this.completedDate,
this.createdDate,
this.finalDecision,
this.id,
this.name})
: approvers = approvers ?? [],
canAnswerApproval = canAnswerApproval ?? false;