void reset(List<T> newList)

Called internally by AppView to initialize list of view children.

Source

void reset(List<T> newList) {
  int itemCount = newList.length;
  for (int i = 0; i < itemCount; i++) {
    if (newList[i] is List) {
      var results = <T>[];
      _flattenList(newList, results);
      _results = results;
      _dirty = false;
      return;
    }
  }
  _results = newList;
  _dirty = false;
}