randomNumber function

int randomNumber(
  1. int max
)

origin: kt_ifm_gtid_mob/lib/global.dart union-of: stm_portal_mob/lib/global.dart author: anovsiradj, opencode-go/glm-5.2 version: 2025-03-03, revised: 2026-08-17

Implementation

int randomNumber(int max) {
  return math.Random().nextInt(max);
}