v1obj method

UuidValue v1obj({
  1. Map<String, dynamic>? options,
})

v1obj() Generates a time-based version 1 UUID

By default it will generate a string based off current time, and will return it as 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.2.2

Implementation

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