Closed dinbtechit closed 1 year ago
Here's an example showing how to use the source code exploration part of the mirror system to find information about function declarations, including constructor declarations, and their parameters: https://github.com/google/reflectable.dart/blob/master/test_reflectable/test/declarations_test.dart.
This would allow you to take the componentClassMirror.declarations
and search for constructors, look up their parameters
, and inspect the type
of any given parameter.
That worked! thank you so much for quick response!
Hi, How to get the list of constructor arguments? to dynamically create the instance..
Annotations:
Somewhere the code, Logic for the Annotation