mintBootId static method
A boot id: the wall clock in microseconds and a random suffix, base 36, so two boots in the same microsecond still differ.
Implementation
@visibleForTesting
static String mintBootId() =>
'${DateTime.now().microsecondsSinceEpoch.toRadixString(36)}-'
'${_random.nextInt(1 << 30).toRadixString(36)}';