fix(remote_config,web): suppress deprecated_member_use on Map.unmodifiable - #18635
fix(remote_config,web): suppress deprecated_member_use on Map.unmodifiable#18635russellwheatley wants to merge 1 commit into
Conversation
…iable dart:core deprecated Map.unmodifiable() in favor of Map.unmodifiableOf(), but the latter needs Dart 3.13.0, above this package's current SDK floor. Suppress the warning rather than raise the floor for one call site.
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
dart:core's
Map.unmodifiable()is now@Deprecated("Use Map.unmodifiableOf instead"), butMap.unmodifiableOfneeds Dart 3.13.0, which is above this package's SDK floor (see #18634 for the separate discussion on where that floor should sit).Suppressing the warning here rather than migrating, since raising the floor to 3.13.0 (released weeks ago) just for this one call isn't worth it.