Get list of random numbers.
List<num> randomList({int min = 0, int max = 100}) { var result = <num>[]; for (var i = 0; i < this; i++) { result.add(Random().nextInt(max - min) + min); } return result; }