Created
March 13, 2020 22:21
-
-
Save emlanis/0c3e4da915ada09459e9af7bc5f8589d to your computer and use it in GitHub Desktop.
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() { | |
| List<String> myList = [ | |
| 'Noor', | |
| 'Miri', | |
| 'Zee', | |
| 'Sule', | |
| ]; | |
| print(myList[0]); | |
| print(myList.indexOf('Noor')); | |
| // myList.add('Emlanis'); | |
| print(myList); | |
| myList.insert(2, 'Emlanis'); | |
| print(myList); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment