Hint to me when I have nullable fields in an object #57173
Labels
analyzer-linter
Issues with the analyzer's support for the linter package
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
linter-lint-request
type-enhancement
A request for a change that isn't a bug
The following construct should be avoided:
Issues are:
empty()
.The VM has a hard time optimizing fields that could be double or null. dart2js has a hard time optimizing field access that could be null.
Of course, I could set x,y,z to final. Or, I could eliminate empty() constructor.
The text was updated successfully, but these errors were encountered: