copyWith method

WorkflowTasksCreateInitialised copyWith({
  1. List<WorkflowTaskModel>? workflowTaskModels,
  2. List<PluginWithComponents>? pluginWithComponents,
  3. WorkflowTaskModel? currentlySelected,
})

Implementation

WorkflowTasksCreateInitialised copyWith(
    {List<WorkflowTaskModel>? workflowTaskModels,
    List<PluginWithComponents>? pluginWithComponents,
    WorkflowTaskModel? currentlySelected}) {
  return WorkflowTasksCreateInitialised(
      workflowTaskModels: workflowTaskModels ?? this.workflowTaskModels,
      currentlySelected: currentlySelected);
}