copyWith method
Create a copy with modified fields
Implementation
InstallConfig copyWith({
List<String>? features,
List<String>? skills,
List<String>? agents,
bool? overwrite,
String? skillsPath,
}) {
return InstallConfig(
features: features ?? this.features,
skills: skills ?? this.skills,
agents: agents ?? this.agents,
overwrite: overwrite ?? this.overwrite,
skillsPath: skillsPath ?? this.skillsPath,
);
}