BytedeskUuid class

A UUID generator, useful for generating unique IDs for your Todos. Shamelessly extracted from the Flutter source code.

This will generate unique IDs in the format:

f47ac10b-58cc-4372-a567-0e02b2c3d479

Example

final String id = Uuid().generateV4();

Constructors

BytedeskUuid()

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

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

Static 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.
uuid() String