isClass property

bool get isClass

Whether the TypeDeclaration has an associatedClass.

Implementation

bool get isClass => associatedClass != null;