UniqueNamer constructor

UniqueNamer(
  1. Iterable<String> _existingNames()
)

Avoids the names the given function returns — the world's entity names, say — asked again on every call.

Implementation

UniqueNamer(this._existingNames);