randomText function

List<int> randomText(
  1. int length
)

Implementation

List<int> randomText(int length) {
  return new List.generate(
      length,
      (_) => random.nextInt(random.nextInt(
              random.nextInt(random.nextInt(random.nextInt(160) + 1) + 1) + 1) +
          1));
}