isFactory abstract method
Checks if this is a factory constructor.
Returns:
trueif declared withfactorykeywordfalsefor generative constructors
Note: Factory constructors may return instances of subtypes.
Implementation
bool isFactory();
Checks if this is a factory constructor.
Returns:
true if declared with factory keywordfalse for generative constructorsNote: Factory constructors may return instances of subtypes.
bool isFactory();