Hello from here I know that I can create an instance from a String:
How to get a Class name dynamically (from a string) in Dart, then create an instance?
but How do I create an instance of a Generic class from a String, ie:
var class_name = "GenericController<Book>"; // user input here
new class_name();
newInstancedoesn't allow to pass type arguments. (here is another similar question stackoverflow.com/questions/19166146)