copyWith method

ParameterWorkflow copyWith({
  1. ID? id,
  2. String? name,
  3. WorkflowEntity? workflow,
})

Implementation

ParameterWorkflow copyWith({
  ID? id,
  String? name,
  WorkflowEntity? workflow,
}) {
  return ParameterWorkflow(
    id: id ?? this.id,
    name: name ?? this.name,
    workflow: workflow ?? this.workflow,
  );
}