getEnum abstract method

EnumElement? getEnum(
  1. String name
)

Returns the enum defined in this compilation unit that has the given name, or null if this compilation unit does not define an enum with the given name.

Implementation

EnumElement? getEnum(String name);