updateAll method
修改列表全部的元素
Implementation
IList<T> updateAll(ValueCopyWith<T> update) {
var list = this;
for (var element in list) {
list = list.updateItemEx(element, update);
}
return list;
}
修改列表全部的元素
IList<T> updateAll(ValueCopyWith<T> update) {
var list = this;
for (var element in list) {
list = list.updateItemEx(element, update);
}
return list;
}