v5obj method

UuidValue v5obj(
  1. String? namespace,
  2. String? name, {
  3. Map<String, dynamic>? options,
})

v5obj() Generates a namspace & name-based version 5 UUID

By default it will generate a string based on a provided uuid namespace and name, and will return a UuidValue object.

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 v5obj(String? namespace, String? name,
    {Map<String, dynamic>? options}) {
  var uuid = v5(namespace, name, options: options);
  return UuidValue(uuid);
}