canHandleFile static method
Check if a generator can handle a specific file extension for the given type
Implementation
static bool canHandleFile(String type, String filePath) {
final generator = _generators[type];
if (generator == null) return false;
final extension = path.extension(filePath);
return generator.canHandle(extension);
}