ApprovalRuleConfig constructor

const ApprovalRuleConfig({
  1. required Input<bool> allowSelfApproval,
  2. required Input<List<EligibleApprover>> eligibleApprovers,
  3. required Input<int> numApprovalsRequired,
  4. required Input<bool> requireReapprovalOnChange,
})

Creates a new ApprovalRuleConfig. allowSelfApproval Whether self-approval is allowed. eligibleApprovers List of eligible approvers. numApprovalsRequired Number of approvals required. requireReapprovalOnChange Whether reapproval is required on changes.

Implementation

const ApprovalRuleConfig({
  required this.allowSelfApproval,
  required this.eligibleApprovers,
  required this.numApprovalsRequired,
  required this.requireReapprovalOnChange,
});