representsANamedType property

bool get representsANamedType

Returns true if this reference type represents a named type.

Implementation

bool get representsANamedType => representsInterfaceType || this == $extension || this == $typeAlias;