lookupFactory method
Implementation
MModelFactory? lookupFactory(Object mtype) {
final key = "$mtype";
final factory = _resolvers
.map((resolver) => resolver(key))
.firstWhere(notNull(), orElse: () {
return lookupFactory(mtype);
});
return factory;
}