ApprovalDTO constructor

ApprovalDTO({
  1. SelfLinkDTO? links,
  2. List<ApproverDTO>? approvers,
  3. bool? canAnswerApproval,
  4. DateDTO? completedDate,
  5. DateDTO? createdDate,
  6. ApprovalDTOFinalDecision? finalDecision,
  7. String? id,
  8. 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;