UuidVersion enum

Known UUID versions, i.e. to be returned by Uuid.version.

For most values (except v2), see tools.ietf.org/html/rfc4122.

Inheritance

Constructors

UuidVersion()
const

Values

v1 → const UuidVersion

A UUID generated using a timestamp and MAC address.

v2 → const UuidVersion

A "DCE Security" UUID.

See pubs.opengroup.org/onlinepubs/9696989899/chap5.htm#tagcjh_08_02_01_01.

v3 → const UuidVersion

Non-random output UUID, based on a MD5 hash.

v4 → const UuidVersion

Randomly generated.

v5 → const UuidVersion

Non-random output UUID, based on a truncated SHA-1 hash.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<UuidVersion>
A constant List of the values in this enum, in order of their declaration.