generateForEnum abstract method
Generates code for an annotated enum element.
This is called for each enum in the library that has the annotation this generator is targeting.
@param buildStep The build step providing context for generation @param element The annotated enum element @param annotation The annotation instance on the enum @return Generated code as a string, or null if nothing to generate
Implementation
dynamic generateForEnum(
BuildStep buildStep,
EnumElement element,
ElementAnnotation annotation,
);