reflect function

ClassMirror? reflect(
  1. dynamic instance
)

Returns the ClassMirror corresponding to the runtime type of the instance

Implementation

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