constructorName property

Symbol constructorName

The 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.

Implementation

Symbol get constructorName;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-mirrors/MethodMirror/constructorName.html