reflectClass function
ClassMirror reflectClass(Reflects a class declaration.
Let C be the original class declaration of the class represented by key
. This function returns a ClassMirror reflecting C.
If key
is not an instance of Type, then this function throws an ArgumentError. If key
is the Type for dynamic or a function typedef, throws an ArgumentError.
Note that since one cannot obtain a Type object from another isolate, this function can only be used to obtain class mirrors on classes of the current isolate.
Source
external ClassMirror reflectClass(Type key);
© 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/reflectClass.html