getNextId method

int getNextId()

Get the next unique ID.

Implementation

int getNextId() => _id++;