Created with <3 with dartpad.dev.
Last active
June 24, 2023 08:52
-
-
Save Deleplace/3b0c3682f98d3d015072c576f7a6c2f3 to your computer and use it in GitHub Desktop.
Clear map
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() { | |
var m = { | |
"one": 1, | |
"two": 2 | |
}; | |
var p = m; | |
print(m); | |
print(p); | |
m.clear(); | |
print(m); | |
print(p); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment