Source code generator for package generic_enum. Builds extensions containing value-mapping and json-serialization methods for each annotated Dart enum.
Generic Enum Builder #
The provided builder can be configured to generate custom extensions containing value-mapping
and json-serialization methods for each annotated Dart
To use this library include
generic_enum as dependency in your
A step-by-step guide on how to configure the builder is provided at https://pub.dev/packages/generic_enum#usage.
generic_enum_example provides a complete example on how to define and build
generic enumeration classes. As a starting point users could clone this repository, add
their own annotated enumerations to the folder
lib and build the library.
Features and bugs #
Please file feature requests and bugs at the issue tracker.