augmentationTarget property

EnumOrAugmentationElement? get augmentationTarget

Returns the element that is augmented by this augmentation; or null if there is no corresponding element to be augmented. The chain of augmentations should normally end with a EnumElement, but might end with null immediately or after a few intermediate EnumAugmentationElements in case of invalid code when an augmentation is declared without the corresponding enum declaration.

Implementation

EnumOrAugmentationElement? get augmentationTarget;