copyWith method
Creates a copy of this ProjectInfo with updated fields.
Implementation
ProjectInfo copyWith({
String? path,
List<CacheTarget>? targets,
bool? isPriority,
}) {
return ProjectInfo(
path: path ?? this.path,
targets: targets ?? this.targets,
isPriority: isPriority ?? this.isPriority,
);
}