newId method

LocalId newId()

Mints a fresh, document-unique LocalId from allocator.

Implementation

LocalId newId() => allocator.mint();