generic_enum_builder 0.4.0 copy "generic_enum_builder: ^0.4.0" to clipboard
generic_enum_builder: ^0.4.0 copied to clipboard

discontinued
outdated

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

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 Dart enums annotated with GenerateValueExtension and GenerateJsonExtension provided by generic_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
0
pub points
0%
popularity

Publisher

verified publishersimphotonics.com

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

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

More

Packages that depend on generic_enum_builder