simple_value_object_generator 1.0.1 copy "simple_value_object_generator: ^1.0.1" to clipboard
simple_value_object_generator: ^1.0.1 copied to clipboard

A Dart code generator that simplifies the creation of Value Objects using Dart's extension type.

1.0.1 #

Modified the generator to always create an alias with <right-hand side alias name>.

Before:

@ValueObject<int>
typedef Id = $Id; // Generated alias name is _$Id (=compile error)

After:

@ValueObject<int>
typedef Id = $Id; // Generated alias name is $Id

1.0.0 #

  • Initial version.
1
likes
150
points
132
downloads

Publisher

verified publisherr-koubou.net

Weekly Downloads

A Dart code generator that simplifies the creation of Value Objects using Dart's extension type.

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, simple_value_object_annotation, source_gen

More

Packages that depend on simple_value_object_generator