lookupSubtype method
- Subtype subtype
Retrieve a Subtype's registration information
Implementation
ResourceRegistration lookupSubtype(Subtype subtype) {
if (!subtypes.containsKey(subtype)) {
throw Exception('Subtype not registered in registry');
}
return subtypes[subtype]!;
}