find method
查找符合条件的元素。
Implementation
E? find(bool Function(E element) test) {
final list = where(test);
return list.isEmpty ? null : list.first;
}
查找符合条件的元素。
E? find(bool Function(E element) test) {
final list = where(test);
return list.isEmpty ? null : list.first;
}