angel_serialize_generator 2.0.8+2 copy "angel_serialize_generator: ^2.0.8+2" to clipboard
angel_serialize_generator: ^2.0.8+2 copied to clipboard

outdated

Model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.

2.0.8+2 #

  • Better discern when custom methods disqualify classes from const protection.

2.0.8+1 #

  • Fix generation of const constructors with iterables.

2.0.8 #

  • Now supports de/serialization of enum types.
  • Generate const constructors when possible.
  • Remove whereType, perform manual coercion.
  • Generate a fromMap with typecasting, for Dart 2's sake.

2.0.7 #

  • Create unmodifiable Lists and Maps.
  • Support @required on fields.
  • Affix an @immutable annotation to classes, if package:meta is imported.
  • Add /// <reference path="..." /> to TypeScript models.

2.0.6 #

  • Support for using abstract to create immutable model classes.
  • Add support for custom constructor parameters.
  • Closed #21 - better naming of Map types.
  • Added overridden == operators.

2.0.5 #

  • Deserialization now supports un-serialized DateTime.
  • Better support for regular typed Lists and Maps in TypeScript.

2.0.4 #

  • Fields in TypeScript definitions are now nullable by default.

2.0.3 #

  • Added a TypeScriptDefinitionBuilder.

2.0.2 #

  • Generates an XFields class with the serialized names of all fields in a model class X.
  • Removed unnecessary named parameters from XSerializer.fromMap.

2.0.1 #

  • Ensured that List is only transformed if it generically references a Model.
0
likes
0
points
127
downloads

Publisher

unverified uploader

Weekly Downloads

Model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

angel_model, angel_serialize, build_config, code_buffer, code_builder, id, meta, recase, source_gen

More

Packages that depend on angel_serialize_generator