RequestId class

A class that generates unique request IDs.

Constructors

RequestId()

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

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 Methods

generate([int length = 16]) → String
Generates a unique request ID.
generateSecure([int length = 16]) → String
Generates a secure request ID using a cryptographic RNG.