RandomUuidGenerator class
Generator for random-based UUIDs (v4)
Constructors
- RandomUuidGenerator([Random? rng])
- Creates instance of generator
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rng → Random
-
Random number generator. By default it uses secure RNG returned
by Random.secure
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
) → Uuid - Generates random-based v4 UUID
-
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