generic_enum library
Library providing the classes:
- GenerateJsonExtension
- GenerateValueExtension
- The classes are used to annotate Dart enumerations.
- Annotated enums are processed by
extensionBuilder
provided by the packagegeneric_enum_builder
.
Classes
- GenerateJsonExtension
-
Annotation requesting the generation of an extension
containing the functions
toJson
,toJsonEncoded
andfromJson
. - GenerateValueExtension
-
Annotation requesting the generation of the extension
<EnumName>Value
.