flutter string contains

59

List<String> myList = ['US', 'SG', 'US'];
print(myList.where((item) => item.contains("US")));

Comments

Submit
0 Comments