-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add Dart Map .map() term documentation #8122
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?
Add Dart Map .map() term documentation #8122
Conversation
This pull request adds a new term entry for the Dart Map.map() method. The entry explains how .map() transforms each key-value pair of a map into a new map using a provided function. It includes a clear syntax section and a simple example demonstrating the method in use, following Codecademy Docs content standards and writing guidelines. This addition helps learners better understand how to work with Dart maps in a clear and beginner-friendly way.
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 documentation for the Dart Map .map() method, which transforms key-value pairs in a map using a provided function. The entry includes syntax documentation and two practical examples demonstrating different transformation scenarios.
- Adds new term entry explaining the Map
.map()method - Includes syntax section with parameter descriptions
- Provides two examples: incrementing integer values and converting string values to uppercase
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@mamtawardhani I have created Doc for .map fun . Please let me know if anything else is needed |
Updated the description and improved clarity of the .map() method documentation.
mamtawardhani
left a comment
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.
The PR looks good for a second round of review! 🚀
This pull request adds a new term entry for the Dart Map.map() method.
The entry explains how .map() transforms each key-value pair of a map into a new map using a provided function. It includes a clear syntax section and a simple example demonstrating the method in use, following Codecademy Docs content standards and writing guidelines.
This addition helps learners better understand how to work with Dart maps in a clear and beginner-friendly way.