siblingsEnumReflection method

List<EnumReflection> siblingsEnumReflection()

Returns a List of siblings ClassReflection (declared in the same code unit).

Implementation

List<EnumReflection> siblingsEnumReflection() =>
    siblingsReflection().whereType<EnumReflection>().toList();