Dart check if string is contained in list of strings. Copy. String value = 'whatever'; bool res = list.any((listElement) => listElement.contains(value);.
確定! 回上一頁