docs: private List<Data> getBatchChunk(List<Data> list, int pageSize, int pageNumber) {
          if (list == null || list.isEmpty()) {
              return null;
          }
          int start = pageNumber * pageSize;
          int end = Math.min(start + pageSize, list.size());
          if (start >= end) {
              return null;
          }
          return list.subList(start, end);
      }