Created
September 16, 2019 08:26
-
-
Save muchirijane/73d04d669cea21e88f7700fc7e894252 to your computer and use it in GitHub Desktop.
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() { | |
List<String> myList = [ | |
'Charles', | |
'James', | |
'Bella', | |
'Jack', | |
]; | |
//print(myList[3]); | |
//print(myList.indexOf('Jack')); | |
myList.add('Jane'); | |
myList.insert(3 , 'John'); | |
//print(myList[3]); | |
//print(myList.first); | |
//print(myList.last); | |
//print(myList.length); | |
myList.removeAt(3); | |
print(myList); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment