String type = MyClass(). runtimeType. toString(); Note: In python there is a variable called __name__ in every class, which does what I need.
How do you get the class name in darts?
String type = MyClass(). runtimeType. toString(); Note: In python there is a variable called __name__ in every class, which does what I need.