generateRandomStringInRange method

String generateRandomStringInRange(
  1. int minLength,
  2. int maxLength
)

Implementation

String generateRandomStringInRange(int minLength, int maxLength) {
  final length = minLength + _random.nextInt(maxLength - minLength + 1);
  return generateRandomString(length);
}