simple_value_object_generator 1.0.3
simple_value_object_generator: ^1.0.3 copied to clipboard
A Dart code generator that simplifies the creation of Value Objects using Dart's extension type.
CHANGELOG #
1.0.3 #
Added empty field when the type is String and added allowEmpty is true or minLength is 0.
1.0.2 #
Updated dependencies.
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.