reflectClass method

  1. @override
ReflectedClass reflectClass(
  1. Type clazz
)
override

Implementation

@override
ReflectedClass reflectClass(Type clazz) {
  var mirror = dart.reflectType(clazz);

  if (mirror is dart.ClassMirror) {
    return _ReflectedClassMirror(mirror);
  } else {
    throw ArgumentError('$clazz is not a class.');
  }
}