Created
February 8, 2024 20:37
-
-
Save DDOrozco17/415ecf58b923a55a8eea9caa74d4d86a to your computer and use it in GitHub Desktop.
ejemplos de mapas en dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
Map<String, int> amigas = { | |
'raspada': 18, | |
'roson': 59, | |
'rosadita': 98 | |
}; | |
print(amigas); | |
print(amigas['raspada']); | |
print(amigas['roson']); | |
print(amigas['rosadita']); | |
} |
Author
DDOrozco17
commented
Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment