List<int> foldList(List<int> a, List<int> b)

Source

List<int> foldList(List<int> a, List<int> b) {
  return a..addAll(b);
}