# EnumDeclaration constructor

const EnumDeclaration()

Represents a reflected Dart `enum` type, providing access to its enum entry names, metadata, and declared members (fields, methods).

This interface combines both SourceDeclaration and TypeDeclaration, and allows you to inspect enums dynamically at runtime.

### Example

    final type = reflector.reflectType(MyEnum).asEnumType();

    print(type?.getName()); // MyEnum
    print(type?.getValues()); // [active, inactive, unknown]

    for (final member in type!.getMembers()) {
      print(member.getName());
    }

## Implementation

    const EnumDeclaration();