/Dart 2

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.


Symbol get constructorName;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.