getEnum abstract method

EnumElementImpl? getEnum(
  1. String name
)

Returns the enum with the given name, or null if this library does not have an enum with the given name.

Implementation

EnumElementImpl? getEnum(String name);