generic_enum_example 0.2.0 generic_enum_example: ^0.2.0 copied to clipboard
Demonstrates how to define and build generic enumeration classes using the packages generic_enum and generic_enum_builder.
Generic Enum Example #
Introduction #
This library serves as a demonstrator on how to create GenericEnum
classes with features
like json-serialization, a value-instance map, and access to instance identifiers.
Starting Point #
As a starting point, users could follow these steps:
- Clone this repository.
- Add you own generic enum classes to the local folder
generic_enum/generic_enum_example/lib
. - In a terminal navigate to the local folder
generic_enum/generic_enum_example
and build the project by running the command:$ pub run build_runner build --delete-conflicting-outputs
Features and bugs #
Please file feature requests and bugs at the issue tracker.