nextId method
A new UUIDv7-shaped ID; deterministic per world, so faults and assertions repeat.
Implementation
String nextId() {
final n = ++_ids;
final hex = n.toRadixString(16).padLeft(15, '0');
return '0192f4a0-7b1c-7${hex.substring(0, 3)}-8${hex.substring(3, 6)}-'
'000${hex.substring(6)}';
}