isEnum property

bool get isEnum

Whether the TypeDeclaration has an associatedEnum.

Implementation

bool get isEnum => associatedEnum != null;