v7 method

String v7(
  1. {V7Options? config}
)

Generates a draft time-based version 7 UUID as a UuidValue object

By default it will generate a string based off current Unix epoch time in milliseconds, and will return a string.

The first argument is a V7Options object that takes the same options as the options map.

https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-01.html#name-uuidv7-layout-and-bit-order

Implementation

String v7({V7Options? config}) {
  return UuidV7(goptions: goptions).generate(options: config);
}