Created
July 29, 2021 10:40
-
-
Save fladago/864fd11f9c2642c20987785b1f613676 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() { | |
final List<String> flutterMasters = ['@dushesatwork', '@BleylDev', '@tadaspetra', '@JohannesMilke', '@sachaarbonel', '@BleylDev']; | |
print(flutterMasters); | |
print('Length of collection: ${flutterMasters.length}'); | |
final Set <String> uniqueMasters = {...flutterMasters}; | |
print(uniqueMasters); | |
print('Length of collection: ${uniqueMasters.length}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment