constructorName property
Symbol constructorNameThe constructor name for named constructors and factory methods.
For unnamed constructors, this is the empty string. For non-constructors, this is the empty string.
For example, 'bar'
is the constructor name for constructor Foo.bar
of type Foo
.
Source
Symbol get constructorName;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-mirrors/MethodMirror/constructorName.html