getRandomString static method
return a random string of given length
Implementation
static String getRandomString(int length) {
return String.fromCharCodes(Iterable.generate(
length, (_) => _chars.codeUnitAt(_rnd.nextInt(_chars.length))));
}