im_model_gen 1.9.1 copy "im_model_gen: ^1.9.1" to clipboard
im_model_gen: ^1.9.1 copied to clipboard

Annotation builder for immutable model to generate of `copyWith` and == (equal) operator..

1.9.1 #

  • fix: wrong superclass resolution under certain circumstances.
  • perf: Replace linear lookup.
  • perf: Pre-compute _ignoreCopy.
  • perf: Eliminate redundant regex calls in _convertToImmutable.
  • perf: Compute type parameter strings in a single pass.

1.9.0 #

  • feat: Supports private named parameters in constructors.
  • feat: Supports incoming Dart 3.13 primary constructors.
  • chore: Allows analyzer >=11.0.0 <15.0.0 range.
  • chore: Updated the SDK lower bound to 3.12.0.

1.8.0 #

  • chore: Updated analyzer to '>=11.0.0 <13.0.0'

1.7.0 #

  • chore: Updated analyzer to '>=8.1.1 <11.0.0'

1.6.0 #

  • chore: Updated analyzer to '>=8.1.1 <10.0.0'
  • chore: Updated workspace with melos 7.x
  • chore: Updated the SDK lower bound to 3.9.

1.5.0 #

  • chore: Updated build and source_gen to ^4.0.0.

1.4.1 #

  • chore: Updated build to ^3.0.0.

1.4.0 #

  • chore: Updated the SDK lower bound to 3.8.
  • chore: Migrated to new analyzer element2 APIs.
  • chore: Updated analyzer to '>=7.0.0 <9.0.0'.
  • chore: Updated build to ^3.0.0.
  • chore: Updated source_gen to ^3.0.0.

1.3.1 #

  • fix: lower meta dependency bounds.

1.3.0 #

  • chore: Updated the SDK lower bound to 3.6.
  • chore: Updated dependencies.

1.2.3 #

  • fix: Generate type parameters if any to copyWith in mixin.

1.2.2 #

  • fix: Make generated extension private & move copyWith to mixin.

1.2.1 #

  • fix: copy generation with covariant comparisons.

1.2.0 #

  • feat: Now generates everything from equality record.

1.1.0 #

  • feat: Add toString generation for equality members.

1.0.4 #

  • fix: unecessary cast in copy on Object or Object?

1.0.3 #

  • feat: Allow mutable collections in factory constructor parameters for convenience.

1.0.2 #

  • fix: abstract class copy generation.

1.0.1 #

  • fix: getters detection.
  • fix: static const collections detection.
  • fix: lower dependency bounds.

1.0.0 #

  • Initial version.
2
likes
160
points
347
downloads

Documentation

API reference

Publisher

verified publishercow-level.ovh

Weekly Downloads

Annotation builder for immutable model to generate of `copyWith` and == (equal) operator..

Repository (GitHub)
View/report issues

Topics

#immutable #immutability #copywith #equality

License

BSD-3-Clause (license)

Dependencies

analyzer, build, im_model, meta, source_gen

More

Packages that depend on im_model_gen