autoequal_gen 0.9.1 copy "autoequal_gen: ^0.9.1" to clipboard
autoequal_gen: ^0.9.1 copied to clipboard

Code generator which can simplify work with 'equatable'. It will generate 'List<Object?> props' private extensions for all annotated classes.

0.9.1 | 1.17.2023 #

  • deps: Update range for path to support
  • tests: add generator tests

0.9.0 | 1.11.2023 #

  • BREAKING: remove support for mixin
  • BREAKING: update annotation constants to omit Autoequal suffix
  • feat: support public super class fields within props
  • feat: support auto including class that use Equatable and have a props getter
  • refactor: extract files for better maintainability and readability

0.8.0 | 1.9.2023 #

  • Remove deprecated _autoequalProps

0.7.1 #

  • Refactor autoequal_gen to use code_builder instead of raw Strings

0.6.0 #

  • Require Dart 3.0 or later
  • Add final modifier to all classes
  • Migrate from pedantic to lints
  • Update dependencies

Thank you techouse for your contributions!!

0.5.1 #

  • Fixed use of autoequal_gen with analyzer: 5.0.0

0.5.0 #

  • Added ability to use getters for generated props
  • Allowed to use @autoequal with abstract class
  • Improved inheritance with @autoequal
  • Mixin improvements
  • Generated props name changed to _$props to fit the code convention. _autoequalProps is now deprecated and will be removed in future releases.

Thanks a lot to mrgnhnt96 for these changes

0.4.1 #

  • analyzer updated

0.4.0 #

  • Dependencies updated
  • build_runner updated to 2.2.0
  • Ready to Dart 2.17

0.3.0 #

  • build_runner updated to 2.1.5

0.2.0 #

  • Migrated to null-safety
  • The version of the equatable lib upgraded to 2.0

0.1.2 #

  • Fixed and improved @autoequalMixin.

0.1.1 #

  • Added @autoequalMixin.

0.1.0 #

  • Initial version.
6
likes
140
pub points
68%
popularity

Publisher

verified publishermrgnhnt.com

Code generator which can simplify work with 'equatable'. It will generate 'List<Object?> props' private extensions for all annotated classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, autoequal, build, change_case, code_builder, dart_style, meta, path, source_gen, source_span

More

Packages that depend on autoequal_gen