List.generate(36, (i) => generateRandomCode(0xFF0587D8, 0xFF0345B5)) generateRandomCode(min, max) { // implementation here }