-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Request for an Unmodifiable Set #24652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I usually use |
You can use the one in |
Thanks for the follow up! I understand that we want to work towards smaller core libraries, and that some functionality will be in packages. cc @Hixie |
We should have set literals also. There are places in Flutter's codebase right now where we're working around the lack of Set literals, FWIW. |
See: #3792 |
Right. I'm just saying that if the argument is that we shouldn't have an UnmodifiableSet because we don't have a Set literal, that that's fine, since we should have a Set literal anyway. :-) |
I see an unmodifiable list view and map view in dart:collection, but didn't find an unmodifiable set view. Do we have something like that? If not, could we consider adding it?
(request from customer)
The text was updated successfully, but these errors were encountered: