reflect function

ClassMirror reflect (dynamic instance)

Returns the ClassMirror corresponding to the runtime type of the instance

Implementation

ClassMirror reflect(instance) => _classMirrors.putIfAbsent(instance.runtimeType, () =>
  getClassMirrorFromGenericInstance(instance)
);