dart:mirrors library
Functions
ClassMirror reflectClass(Type key) #
Returns a ClassMirror for the class represented by a Dart Type object.
This only works with objects local to the current isolate.
external ClassMirror reflectClass(Type key);
InstanceMirror reflect(Object reflectee) #
Returns an InstanceMirror for some Dart language object.
This only works if this mirror system is associated with the current running isolate.
external InstanceMirror reflect(Object reflectee);
Future<MirrorSystem> mirrorSystemOf(SendPort port) #
Creates a MirrorSystem for the isolate which is listening on
the SendPort.
external Future<MirrorSystem> mirrorSystemOf(SendPort port);
MirrorSystem currentMirrorSystem() #
Returns a MirrorSystem for the current isolate.
external MirrorSystem currentMirrorSystem();