prefer_spread_collections
trigger on .toIterable()
#59540
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-set-recommended
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Describe the issue
The current description or
prefer_spread_collections
:I'd like to bring focus to the end:
So I'd like to propose for it to trigger on methods like
toSet
andtoList
.To Reproduce
Expected behavior
For it to trigger
prefer_spread_collections
in the second line.The text was updated successfully, but these errors were encountered: