nextId method

int nextId()

Returns a monotonically increasing ID, used to generate unique slot keys.

Implementation

int nextId() => _currentId++;