nextId method

int nextId()

Implementation

int nextId() => _currentId++;