Last active
August 23, 2023 15:00
-
-
Save Hackathonwave/61c95d149c9fdf6b934e8a68d55f53d2 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 = [ | |
'Uforo Ekong', | |
'Wisdom Effiong', | |
'Simeon Moses', | |
'Endurance Blessed', | |
'Emem Edem', | |
]; | |
//print(myList[3]); | |
// print(myList.indexOf('Simeon Moses')); | |
//myList.add('Abigail Essien'); | |
myList.insert(2, 'Abigail Essien'); | |
print(myList); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment