generate the id list that the length specified by the count
List<int> batchGenerate(int count) { List<int> ids = []; for (var i = 0; i < count; i++) { ids.add(generate()); } return ids; }