UuidV4Generator class
Generates random-based UUIDs (i.e. UuidVersion.v4).
This is the default implementation for Uuid.v4.
- Implemented types
- Annotations
-
- @sealed
Constructors
- UuidV4Generator([Random? random])
-
Create a new instance of a generator with the provided
random
.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
-
generate(
) → Uuid -
Creates a new UUID that is completely random.
override
-
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