SequentialIdGenerator constructor

SequentialIdGenerator(
  1. String _prefix
)

Initializes sequential generator with prefix. Please don't use in any other way that creating and binding it at the top level of app, otherwise it does not provide guarantees of uniqueness if code is used in multiple apps advantage of using this one - shorter ids disadvantage - user's mistake can cause clashes

Implementation

SequentialIdGenerator(this._prefix);