isEnumConstant property

  1. @override
bool get isEnumConstant
inherited

Whether the element is an enum constant.

Implementation

@override
bool get isEnumConstant {
  return hasModifier(Modifier.ENUM_CONSTANT);
}
set isEnumConstant (bool isEnumConstant)
inherited

Implementation

set isEnumConstant(bool isEnumConstant) {
  setModifier(Modifier.ENUM_CONSTANT, isEnumConstant);
}