map_mapper_generator 3.0.4 map_mapper_generator: ^3.0.4 copied to clipboard
Generates code that maps (converts) between instances of business classes to Map<String, dynamic> and back
3.0.4 #
- Support for polymorphism.
Now @MapMapped()
has a new property called knownSubClasses
. This is a list of types of subclasses of the type to which the annotation
is applied. Each of these subclasses much also have the @MapMapped()
annotation.
By identifying the known subclasses, toMap()
and fromMap()
methods become polymorphic.
3.0.3 #
- Updated dependencies
3.0.2 #
- Added support for DateTimeRepresentation
3.0.1 #
- Updated dependencies
3.0.0 #
Breaking Change #
- This version deprecates the @mapMap annotation, which defines a millisecond precision for duration fields.
- The substituting @mapMapped annotation defines a microsecond precision for duration fields unless configured otherwise in build.yaml (see example).
2.0.1 #
- Updated dependencies
2.0.0 #
- Removed KeyHandler as a dependency and added as build generator (and many other breaking changes).
1.0.0 #
- Initial version
1.0.1 #
- Added history and future improvements section to README
1.1.0 #
- Removed deprecated nullableFieldsByDefault property from annotations
1.1.1 #
- Updated dependencies
1.2.0 #
- Removed redundant base classes
1.2.1 #
- Added reference to integrating framework.