copyWith method

Implementation

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