cqtsRandomString function
Implementation
String cqtsRandomString(
int minLength,
int maxLength,
CQRipeStringType stringType,
) {
Iterable<int> charCodes = Iterable.generate(
maxLength,
(_) {
return _chars.codeUnitAt(_rnd.nextInt(_chars.length));
},
);
return String.fromCharCodes(
charCodes,
minLength,
maxLength,
);
}