ULIDMonotonic class abstract interface

Monotonic ULID factory.

Specification

Constructors

ULIDMonotonic([ULIDFactory? factory])
Creates a ULIDMonotonic instance, with optional factory.
factory

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

nextULID(ULID previous, [int? timestamp]) ULID
Get the next monotonic ULID. If an overflow happened while incrementing the random part of the given previous ULID value then the returned value will have a zero random part.
nextULIDStrict(ULID previous, [int? timestamp]) ULID?
Generate the next monotonic ULID, or returns null if an overflow happened while incrementing the random part of the given previous ULID.
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