immutable keyword for classes #1269
Labels
feature
Proposed language feature that solves one or more problems
state-duplicate
This issue or pull request already exists
Hello everyone,
I'm working on a big flutter application, and I have a lot of models that look like this:
is it possible to have an immutable key word like so:
Such that I don't have to write the constructor, or final on each property.
I realize that I could cut down the boilerplate by listing similar types in one line, but in practice, I have annotations on my
properties so I can't do that.
Thank you all :)
The text was updated successfully, but these errors were encountered: