flutter string contains

62

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

Comments

Submit
0 Comments