BytedeskUuid class Null safety

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.