Returns a random string of size len.
String getRandString(int len) { var random = Random.secure(); var values = List<int>.generate(len, (i) => random.nextInt(255)); return base64UrlEncode(values); }