check if a word is in a list dart code example
Example: dart check if string is contained in list of strings
String value = 'whatever';
bool res = list.any((listElement) => listElement.contains(value);
String value = 'whatever';
bool res = list.any((listElement) => listElement.contains(value);