You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some large classes with a lot of fields, and I need to the copyWith for just one field.
Instead of decorate all my fields with @CopyWithField(immutable: true) but one, it would be very nice to have a global build.yaml setting (and/or a class-level tag) to define that all fields are by default immutable, exept the one annoted with @CopyWithField(immutable: false) ?
The text was updated successfully, but these errors were encountered:
I have some large classes with a lot of fields, and I need to the copyWith for just one field.
Instead of decorate all my fields with
@CopyWithField(immutable: true)
but one, it would be very nice to have a globalbuild.yaml
setting (and/or a class-level tag) to define that all fields are by default immutable, exept the one annoted with@CopyWithField(immutable: false)
?The text was updated successfully, but these errors were encountered: