Flake128 class
Generates 128-bit, mostly-unique, k-ordered values.
Constructors
- Flake128({required int machineId, TimestampSource time = _currentMicros, bool continuousSequence = false})
- Create a Flake128 instance.
Properties
Methods
-
nextHex(
) → String - Gets the next value as a hex String.
-
nextInt(
) → int - Gets the next value as an integer.
-
nextUuid(
) → String - Gets the next value as a UUID-formatted String.
-
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