TimeUuidGenerator class
Generator of time-based v1 UUIDs
Constructors
- TimeUuidGenerator([Uint8List? nodeId])
- Creates new time-based UUID generator
- TimeUuidGenerator.fromLastUuid(Uuid state)
-
Creates new generator from previously generated
state
UUID.factory
Properties
- clockSequence → int
-
Returns current clock sequence for this generator
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeId → UnmodifiableUint8ListView
-
Returns Node ID for this generator
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
) → Uuid - Generates UUID for current time
-
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
Static Properties
- clockFrequency → int
-
Frequency of the system clock used by this generator
final