RawRepresentable<RawValue> constructor
RawRepresentable<RawValue> (
- Type type,
- RawValue rawValue
Implementation
factory RawRepresentable(Type type, RawValue rawValue) {
var constructor = Mappable.factories[type];
assert(constructor != null);
return constructor!(rawValue);
}