generateRequestId function

int generateRequestId()

Implementation

int generateRequestId() {
// eslint-disable-next-line no-mixed-operators
  // Generate a random integer between 1000000000000 and 9999999999999
  int randomInt = 1000000000000 + randomBigInt(47, max: BigInt.from(90000000000000)).toInt();

  return randomInt;
}