-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add .update term entry for Dart Map #8126
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
base: main
Are you sure you want to change the base?
Conversation
|
@mamtawardhani I have created Doc for .update. Please let me know if anything else is needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive documentation for the Dart Map .update() method, following the Codecademy Docs term entry template. The documentation explains how to update values for specific keys in a Map using a provided function, with optional handling for absent keys.
Key changes:
- New documentation entry for the
.update()method with frontmatter metadata - Syntax explanation covering both basic usage and the optional
ifAbsentparameter - Three distinct examples demonstrating different use cases: updating existing values, handling absent keys, and working with different data types
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR adds a new term entry for the Dart Map .update property.
The entry includes:
A short introduction explaining the concept
Syntax for using .update
A simple example demonstrating usage
This follows the Codecademy Docs term entry template and style guidelines.