namePart property

  1. @experimental
ClassNamePart get namePart

The name of the extension type, as an identifier with type parameters, or a primary constructor.

Will become not null when Feature.declaring_constructors is implemented, replaces name, typeParameters, representation.

Throws UnsupportedError if useDeclaringConstructorsAst is false.

Implementation

@experimental
ClassNamePart get namePart;