isEnum property

bool isEnum

Implementation

bool get isEnum {
  return targetType is InterfaceType && (targetType as InterfaceType).element2 is EnumElement;
}