validateGenerators static method
Validate that all configuration entries have valid generators
Implementation
static void validateGenerators(Config config) {
for (final entry in config.entries) {
if (!GeneratorRegistry.hasGenerator(entry.type)) {
throw StateError(
'No generator found for type "${entry.type}". '
'Available types: ${GeneratorRegistry.getRegisteredTypes().join(', ')}',
);
}
}
}