【发布时间】:2021-07-26 04:18:26
【问题描述】:
我需要在列表中按查询进行搜索
像这样:
final List<String> products = ['apple', 'ball', 'mouse', 'smartphone'];
List<String> search(){
//All the code
}
【问题讨论】:
-
欢迎来到 SO!请edit您的问题提供minimal, reproducible example