WorkflowCapabilities constructor

WorkflowCapabilities({
  1. List<AvailableWorkflowConnectRule>? connectRules,
  2. WorkflowCapabilitiesEditorScope? editorScope,
  3. List<AvailableWorkflowForgeRule>? forgeRules,
  4. List<WorkflowCapabilitiesProjectTypes>? projectTypes,
  5. List<AvailableWorkflowSystemRule>? systemRules,
  6. List<AvailableWorkflowTriggers>? triggerRules,
})

Implementation

WorkflowCapabilities(
    {List<AvailableWorkflowConnectRule>? connectRules,
    this.editorScope,
    List<AvailableWorkflowForgeRule>? forgeRules,
    List<WorkflowCapabilitiesProjectTypes>? projectTypes,
    List<AvailableWorkflowSystemRule>? systemRules,
    List<AvailableWorkflowTriggers>? triggerRules})
    : connectRules = connectRules ?? [],
      forgeRules = forgeRules ?? [],
      projectTypes = projectTypes ?? [],
      systemRules = systemRules ?? [],
      triggerRules = triggerRules ?? [];