V4Options class - data library - Dart API
Description: API docs for the V4Options class from the data library, for the Dart programming language.

# V4Options class

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 CryptoRNG() CryptoRNG

## Constructors

V4Options(List<int>? random, RNG? rng)
  const

## Properties

hashCode → int
  The hash code for this object.
  no setterinherited
random → List<int>?
  final
rng → RNG?
  final
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