updateAutoGenerateDictionary method
Implementation
Future<CatalogConfig> updateAutoGenerateDictionary(bool value) async {
final updatedConfig = config.copyWith(autoGenerateDictionary: value);
final configPath = PathUtils.join(projectRootPath, CatalogConfig.defaultConfigPath);
await CatalogConfig.writeConfig(
path: configPath,
config: updatedConfig,
);
config = updatedConfig;
return updatedConfig;
}