isEnum property

bool isEnum

Whether the TypeDeclaration has an associatedEnum.

Implementation

bool get isEnum => associatedEnum != null;