make static method
A new random id: 32 hex characters (128 bits).
Implementation
static String make() {
Uint8List out = Uint8List(32);
for (int i = 0; i < 32; i += 8) {
int value = _random.nextInt(1 << 32);
for (int k = i + 7; k >= i; k--) {
out[k] = _hex.codeUnitAt(value & 0xF);
value >>= 4;
}
}
return String.fromCharCodes(out);
}