reflect function

InstanceMirror reflect(Object reflectee)

Reflects an instance.

Returns an InstanceMirror reflecting reflectee. If reflectee is a function or an instance of a class that has a call method, the returned instance mirror will be a ClosureMirror.

Note that since one cannot obtain an object from another isolate, this function can only be used to obtain mirrors on objects of the current isolate.

Source

external InstanceMirror reflect(Object reflectee);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-mirrors/reflect.html