Created
March 1, 2020 20:32
-
-
Save PiN73/6384e51a0cd8c57f8c9ded8dfe6acb69 to your computer and use it in GitHub Desktop.
Dart map assign
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<int, MapEntry<String, String>> m = {}; | |
m[5] = MapEntry("five", "5"); | |
print(m); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment