ApprovalRuleConfig class
Constructors
-
ApprovalRuleConfig({required Input<
bool> allowSelfApproval, required Input<List< eligibleApprovers, required Input<EligibleApprover> >int> numApprovalsRequired, required Input<bool> requireReapprovalOnChange}) -
Creates a new ApprovalRuleConfig.
allowSelfApprovalWhether self-approval is allowed.eligibleApproversList of eligible approvers.numApprovalsRequiredNumber of approvals required.requireReapprovalOnChangeWhether reapproval is required on changes.const -
ApprovalRuleConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowSelfApproval
→ Input<
bool> -
Whether self-approval is allowed.
final
-
eligibleApprovers
→ Input<
List< EligibleApprover> > -
List of eligible approvers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
numApprovalsRequired
→ Input<
int> -
Number of approvals required.
final
-
requireReapprovalOnChange
→ Input<
bool> -
Whether reapproval is required on changes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited