dart - Get classes that have fields annotated with Redstone's @Field() -


i have dart classes in project annotate fields redstone mapper's @field() annotation.

how can these classes @ runtime?

i've seen private map _cache in redstone_mapper_factory... it's private.

i'm aware of can use reflection package scan these classes myself, of them being detected , stored redstone mapper i'd leverage that.

you can use dart:mirror that.

but don't think it's possible redstone, should ask on github, change if want , pull request, should not difficult, getter on _cache.

https://github.com/redstone-dart/redstone_mapper