updateAll method

IList<T> updateAll(
  1. ValueCopyWith<T> update
)

修改列表全部的元素

Implementation

IList<T> updateAll(ValueCopyWith<T> update) {
  var list = this;
  for (var element in list) {
    list = list.updateItemEx(element, update);
  }
  return list;
}