Skip to content
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

Move away from linted/deprecated Map constructor #6450

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Move away from linted/deprecated Map constructor #6450

merged 2 commits into from
Feb 24, 2025

Conversation

parlough
Copy link
Member

Also migrates nearby Set.from to Set.of which is preferred due to improved type safety.

Fixes #5036

@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Feb 22, 2025

Visit the preview URL for this PR (updated for commit 0775fa3):

https://dart-dev--pr6450-fix-5036-cmeph5j2.web.app

@parlough parlough merged commit f8cc2c9 into main Feb 24, 2025
10 checks passed
@parlough parlough deleted the fix/5036 branch February 24, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move away from using Map constructor in 'Generics' examples
3 participants