copyWith method
WorkflowRules
copyWith({
- WorkflowCondition? conditionsTree,
- List<
WorkflowTransitionRule> ? postFunctions, - List<
WorkflowTransitionRule> ? validators,
Implementation
WorkflowRules copyWith(
{WorkflowCondition? conditionsTree,
List<WorkflowTransitionRule>? postFunctions,
List<WorkflowTransitionRule>? validators}) {
return WorkflowRules(
conditionsTree: conditionsTree ?? this.conditionsTree,
postFunctions: postFunctions ?? this.postFunctions,
validators: validators ?? this.validators,
);
}