UUIDGenerator class

Shared id generation for elements missing author-supplied id values.

Constructors

UUIDGenerator()
Access the shared UUIDGenerator instance used across the library.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateUniqueId({required String? type}) String
Produces a runtime-only element id when card JSON omits id.
isNaturalId(String? id, String? type) bool
Returns true when id was author-supplied (not auto-generated from type).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited