RawRepresentable<RawValue> constructor

RawRepresentable<RawValue>(
  1. Type type,
  2. RawValue rawValue
)

Implementation

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