int generateRandom({required int min, required int max,}) { return min + Random.secure().nextInt(max - min); }