generatePositions method

List<int> generatePositions()

generate new positions for all dots

Implementation

List<int> generatePositions() =>
    List.generate(100, (index) => rng.nextInt(100));