V4Options class Null safety

V4Options stores the options passed into the v4 function. random is the random bytes to use to generate the UUID. Primarily used for testing, or recreating a UUID rng is the random number generator function to use. Defaults to UuidUtil.mathRNG namedArgs is a map of named arguments to pass to the RNG function positionalArgs is a list of positional arguments to pass to the RNG function

Constructors

V4Options(List<int>? random, Function? rng, Map<Symbol, dynamic>? namedArgs, List? positionalArgs)
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
namedArgs Map<Symbol, dynamic>?
final
positionalArgs List?
final
random List<int>?
final
rng Function?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited