copyWith method

Config copyWith({
  1. String? templatePath,
  2. String? defaultModuleName,
})

Implementation

Config copyWith({
  String? templatePath,
  String? defaultModuleName,
}) {
  return Config(
    templatePath: templatePath ?? this.templatePath,
    defaultModuleName: defaultModuleName ?? this.defaultModuleName,
  );
}