numen31337 / copy_with_extension

Provides Dart Build System builder for generating copyWith extensions for annotated classes.
https://pub.dev/packages/copy_with_extension_gen
MIT License
74 stars 30 forks source link

Refactor: adding const constructor #84

Closed AcarFurkan closed 1 year ago

AcarFurkan commented 1 year ago

@CopyWith() can now be replaced with @copyWith.

numen31337 commented 1 year ago

Hello @AcarFurkan, I truly appreciate your contribution. However, I must express that I might not entirely align with this perspective. From my standpoint, the introduction of an additional syntax could potentially lead to confusion, concealing the currently accessible options for selection. In my opinion (and as I see JsonSerializable as well), I find it more advantageous to maintain the existing approach.