Answers for "flutter check if list contains"

3

dart check if string is contained in list of strings

String value = 'whatever';

bool res = list.any((listElement) => listElement.contains(value);
Posted by: Guest on March-30-2021

Code answers related to "flutter check if list contains"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language