Created
December 29, 2019 04:51
-
-
Save Blasanka/73f7c386cbb7246c617712c390d4dbb1 to your computer and use it in GitHub Desktop.
Revisions
-
Blasanka created this gist
Dec 29, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ void main() { List<String> first = ['A','B','C','D']; List<String> second = ['B','D']; List<String> result = first.where((item) => !second.contains(item)).toList(); print(result); }