v4obj method - Uuid class - uuid library - Dart API
Description: API docs for the v4obj method from the Uuid class, for the Dart programming language.

# v4obj method Null safety

UuidValue v4obj(

1. {Map<String, dynamic>? options}

)

v4obj() Generates a RNG version 4 UUID

By default it will generate a string based mathRNG, and will return a UuidValue object. If you wish to use crypto-strong RNG, pass in UuidUtil.cryptoRNG

The first argument is an options map that takes various configuration options detailed in the readme.

http://tools.ietf.org/html/rfc4122.html#section-4.4

## Implementation

    UuidValue v4obj({Map<String, dynamic>? options}) {
      var uuid = v4(options: options);
      return UuidValue(uuid);
    }