String customAlphabet(String alphabet, int size) { final len = alphabet.length; String id = ''; while (0 < size--) { id += alphabet[_random.nextInt(len)]; } return id; }