Copies the int values into a List, see List.of.
Stream<List<int>> toIntList() => map((input) => List<int>.of(input));