v1 method Null safety

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

v1() Generates a time-based version 1 UUID

By default it will generate a string based off current time, and will return a string.

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

String v1({Map<String, dynamic>? options}) {
  return _uuidv1.generate(options: options);
}