map_mapper_generator 3.0.4 copy "map_mapper_generator: ^3.0.4" to clipboard
map_mapper_generator: ^3.0.4 copied to clipboard

outdated

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.
0
likes
0
pub points
19%
popularity

Publisher

verified publishersquarealfa.com

Generates code that maps (converts) between instances of business classes to Map<String, dynamic> and back

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, build, decimal, map_mapper_annotations, source_gen, squarealfa_common_types, squarealfa_generators_common

More

Packages that depend on map_mapper_generator