auto_mappr 1.3.1 copy "auto_mappr: ^1.3.1" to clipboard
auto_mappr: ^1.3.1 copied to clipboard

Code generation for mapping between different objects with ease.

1.3.1 #

  • Add documentation for enums and converting iterables. #52
  • Fix generator when multiple annotations are used. #51
  • Add Injectable example. #51

1.3.0 #

  • Fix mapping from/to subclasses. #37
  • Add tryConvert method. #34
  • Fix selecting private constructors. #37
  • Add non factory over factory constructor selection preference. #37
  • Add required_inputs with .freezed.dart and .drift.dart by default. #31
  • Add enum mapping support. #36
  • Add try/convert{Iterable,List,Set} methods. #35

1.2.1 #

  • Document how to use the convert method. #23
  • Update package's icon. #24

1.2.0 #

  • Adhere lints to netglade_analysis 1.2.0. #20
  • Use tear-offs when possible.
  • Omit map when possible.
  • Omit null check of non-nullable when possible.

1.1.2 #

  • Update exception messages to include suggestions for troubleshooting.
  • Add a Discord link to README.

1.1.1 #

  • Add about section to README.
  • Add a note about using generated source and target classes.

1.1.0 #

  • Add support for generics.

1.0.1 #

  • Fix pub.dev issues.

1.0.0 #

  • Initial version.
  • Add primitive objects mapping
  • Add complex objects mapping
  • Add field mapping
  • Add custom mapping
  • Add ignoring mapping
  • Add iterable objects mapping
  • Add maps objects mapping
  • Add default field value
  • Add default object value
  • Add constructor selection
  • Add positional and named constructor parameters
  • Add mapping to target (constructor parameters or public setters)
  • Add mapping from source (public instance or static getters)
  • Add nullability handling
  • Add works with equatable
  • Add works with json_serializable
117
likes
0
points
8.9k
downloads

Publisher

verified publishernetglade.cz

Weekly Downloads

Code generation for mapping between different objects with ease.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, auto_mappr_annotation, build, built_collection, code_builder, collection, equatable, path, source_gen

More

Packages that depend on auto_mappr