TransitionUpdateDTO constructor

TransitionUpdateDTO({
  1. List<WorkflowRuleConfiguration>? actions,
  2. ConditionGroupUpdate? conditions,
  3. String? customIssueEventId,
  4. String? description,
  5. List<StatusReferenceAndPort>? from,
  6. required String id,
  7. required String name,
  8. Map<String, dynamic>? properties,
  9. StatusReferenceAndPort? to,
  10. WorkflowRuleConfiguration? transitionScreen,
  11. List<WorkflowTrigger>? triggers,
  12. required TransitionUpdateDTOType type,
  13. List<WorkflowRuleConfiguration>? validators,
})

Implementation

TransitionUpdateDTO(
    {List<WorkflowRuleConfiguration>? actions,
    this.conditions,
    this.customIssueEventId,
    this.description,
    List<StatusReferenceAndPort>? from,
    required this.id,
    required this.name,
    this.properties,
    this.to,
    this.transitionScreen,
    List<WorkflowTrigger>? triggers,
    required this.type,
    List<WorkflowRuleConfiguration>? validators})
    : actions = actions ?? [],
      from = from ?? [],
      triggers = triggers ?? [],
      validators = validators ?? [];