KSUID class

Constructors

KSUID.buffer(Uint8List buffer)
factory
KSUID.generate({DateTime? date, Uint8List? payload})
factory
KSUID.parse(String ksuid)
factory

Properties

asBytes Uint8List
no setter
asInspectString String
no setter
asRaw String
no setter
asString String
no setter
date DateTime
no setter
hashCode int
The hash code for this object.
no setteroverride
hexPayload String
no setter
payload Uint8List
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
no setter

Methods

compareTo(KSUID other) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

isValid(Uint8List buffer) bool

Constants

kEPOCH → const int
kPadToLength → const int
kPayloadBytes → const int
kTimestampBytes → const int
kTotalBytes → const int