generateArray method
Implementation
List<int> generateArray(List<dynamic> arrays, int size) {
int r = generateRandomNumber(arrays.length);
List<int> temp = List<int>.generate(size, (index) => 0, growable: false);
for (int j = 0; j < size; j++) {
temp[j] = arrays[r][j];
}
return temp;
}