register method
Implementation
void register(NewAppWizardInfo newAppWizardInfo) {
var found = registeredNewAppWizardInfos.firstWhereOrNull(
(NewAppWizardInfo? element) =>
element != null &&
element.newAppWizardName == newAppWizardInfo.newAppWizardName);
if (found != null) {
throw Exception(
"Adding $newAppWizardInfo clashes with existing entry $found. Both have the same newAppWizardName. These must be unique");
}
registeredNewAppWizardInfos.add(newAppWizardInfo);
}