# generate method

String generate(

1. String? namespace,
2. String? name, {
3. V5Options? options,

})

v5() Generates a namespace & name-based version 5 UUID

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

The `namespace` parameter is the UUID namespace (as a String). The `name` parameter is a String that will be converted to UTF-8 bytes.

For binary data input, use generateFromBytes instead.

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

## Implementation

    String generate(String? namespace, String? name, {V5Options? options}) {
      var nameBytes = name != null ? utf8.encode(name) : <int>[];
      return _generateFromBytes(namespace, nameBytes, options: options);
    }