Uuid class
Generates random version 4 UUID strings compliant with RFC 4122.
Useful for generating unique request/response IDs for tracking in debugging or logging contexts.
Example output: f47ac10b-58cc-4372-a567-0e02b2c3d479
Constructors
- Uuid.new()
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
-
generateV4(
) → String - Generates a random v4 UUID string.
-
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