generic_enum_builder 0.3.5

Dart native

Source code generator for package generic_enum. Builds extensions containing value-mapping and json-serialization methods for each annotated Dart enum.

Generic Enum Builder #

Build Status

Introduction #

The package generic_enum_builder contains a builder and source code generating classes based on source_gen and analyzer.

The provided builder can be configured to generate custom extensions containing value-mapping and json-serialization methods for each annotated Dart enum.

Usage #

To use this library include generic_enum as dependency in your pubspec.yaml file.

Include generic_enum_builder and build_runner as dev_dependencies.

A step-by-step guide on how to configure the builder is provided at https://pub.dev/packages/generic_enum#usage.

Examples #

The package 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.

0
likes
90
pub points
2%
popularity

Publisher

simphotonics.com

Source code generator for package generic_enum. Builds extensions containing value-mapping and json-serialization methods for each annotated Dart enum.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

analyzer, build, dart_style, exception_templates, generic_enum, quote_buffer, source_gen

More

Packages that depend on generic_enum_builder