copyWith method
WorkflowTransitionRules
copyWith({
- List<
AppWorkflowTransitionRule> ? conditions, - List<
AppWorkflowTransitionRule> ? postFunctions, - List<
AppWorkflowTransitionRule> ? validators, - WorkflowId? workflowId,
Implementation
WorkflowTransitionRules copyWith(
{List<AppWorkflowTransitionRule>? conditions,
List<AppWorkflowTransitionRule>? postFunctions,
List<AppWorkflowTransitionRule>? validators,
WorkflowId? workflowId}) {
return WorkflowTransitionRules(
conditions: conditions ?? this.conditions,
postFunctions: postFunctions ?? this.postFunctions,
validators: validators ?? this.validators,
workflowId: workflowId ?? this.workflowId,
);
}