AutoIdDirective constructor
AutoIdDirective(
- @Optional() IdGenerator? idGenerator,
- @Attribute('id') String? existingId
Implementation
AutoIdDirective(
@Optional() IdGenerator? idGenerator, @Attribute('id') String? existingId)
: id = existingId ??
((idGenerator ?? SequentialIdGenerator.fromUUID()).nextId());