nextId method

String nextId()

Returns the next generated id for images and links.

Implementation

String nextId() => 'id${_id++}';