Mappable constructor
Mappable(
- Type type
Implementation
factory Mappable(Type type) {
var constructor = Mappable.factories[type];
assert(constructor != null, '${type.toString()} is not defined in Reflection.factories');
return constructor!();
}