reflectType function

ClassMirror reflectType(
  1. Type type
)

Implementation

r.ClassMirror reflectType(Type type) {
  try {
    return inject.reflectType(type) as r.ClassMirror;
  } catch (e) {
    throw UnsupportedError(
        'Unable to reflect on $type. Re-run your build command');
  }
}