relocateV2SingleSelections function
Implementation
Map<String, String> relocateV2SingleSelections(Map<String, String> selections) {
final relocated = <String, String>{};
for (final entry in selections.entries) {
switch (entry.key) {
case 'org.project_organization':
relocated['foundation.project_structure'] = entry.value;
case 'org.localization':
if (entry.value != 'skip') {
relocated['foundation.localization'] = entry.value;
}
default:
relocated[entry.key] = entry.value;
}
}
return relocated;
}