Uuid class

A UUID generator.

This will generate unique IDs in the format:

f47ac10b-58cc-4372-a567-0e02b2c3d479

The generated uuids are 128 bit numbers encoded in a specific string format. For more information, see en.wikipedia.org/wiki/Universally_unique_identifier.

Constructors

Uuid()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateV4() String
Generate a version 4 (random) uuid. This is a uuid scheme that only uses random numbers as the source of the generated uuid.
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