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

discontinued
SDKDart

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

Generic Enum Builder #

Dart

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
150
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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, build, dart_style, generic_enum, quote_buffer, source_gen

More

Packages that depend on generic_enum_builder