WorkflowUpdate constructor

WorkflowUpdate({
  1. List<StatusMigration>? defaultStatusMappings,
  2. String? description,
  3. required String id,
  4. WorkflowLayout? startPointLayout,
  5. List<StatusMappingDTO>? statusMappings,
  6. required List<StatusLayoutUpdate> statuses,
  7. required List<TransitionUpdateDTO> transitions,
  8. required DocumentVersion version,
})

Implementation

WorkflowUpdate(
    {List<StatusMigration>? defaultStatusMappings,
    this.description,
    required this.id,
    this.startPointLayout,
    List<StatusMappingDTO>? statusMappings,
    required this.statuses,
    required this.transitions,
    required this.version})
    : defaultStatusMappings = defaultStatusMappings ?? [],
      statusMappings = statusMappings ?? [];