Uuid class abstract

Utility class to generate short and long random IDs.

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

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

long([int partsCount = 3, int charsCount = 6]) String
Generates a longer ID by joining multiple short() parts with dashes.
short([int charsCount = 6]) String
Generates a short random ID of charsCount characters (default: 6).