Created
March 13, 2022 13:50
-
-
Save Deleplace/45261b596685a413ef64ce9404a92143 to your computer and use it in GitHub Desktop.
Insert an element in a set
This file contains hidden or 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 x = new Set<String>(); | |
| x.add("foo"); | |
| x.add("bar"); | |
| var e = "baz"; | |
| x.add(e); | |
| print(x); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment