WorkflowTransitionRules constructor

WorkflowTransitionRules({
  1. List<AppWorkflowTransitionRule>? conditions,
  2. List<AppWorkflowTransitionRule>? postFunctions,
  3. List<AppWorkflowTransitionRule>? validators,
  4. required WorkflowId workflowId,
})

Implementation

WorkflowTransitionRules(
    {List<AppWorkflowTransitionRule>? conditions,
    List<AppWorkflowTransitionRule>? postFunctions,
    List<AppWorkflowTransitionRule>? validators,
    required this.workflowId})
    : conditions = conditions ?? [],
      postFunctions = postFunctions ?? [],
      validators = validators ?? [];