newRecordId function
A new record id for model (its config name, or its snake_case prefix):
<model_snake>_<ulid>, in the grammar isClientRecordId accepts, minted
on this device (local data, 3.1, 5.9).
Implementation
String newRecordId(String model, {DateTime? now, Random? random}) =>
'${toSnakeCase(model)}_${newUlid(now: now, random: random)}';