Creating an instance of a generic type in DART
I tried mezonis approach with the Activator and it works. But it is an expensive approach as it uses mirrors, which requires you to use “mirrorsUsed” if you don’t want to have a 2-4MB js file. This morning I had the idea to use a generic typedef as generator and thus get rid of reflection: … Read more