WalrusWriteCheckpoint class

A versioned snapshot of an upload. File bytes can be stored separately.

The snapshot contains relay authentication material and transaction intents; keep it in the same private storage as the file being uploaded.

Constructors

WalrusWriteCheckpoint.fromJson(Map<String, dynamic> json, {Uint8List? data, List<QuiltBlob>? files})
data supplies a blob's bytes when omitted by toJson. For quilts, files supplies the original files, including their identifiers and tags.
factory

Properties

blobObjectId → String?
no setter
certifyDigest → String?
no setter
data → Uint8List
final
files → List<QuiltBlob>?
final
hashCode → int
The hash code for this object.
no setterinherited
isFiles → bool
no setter
kind → String
no setter
network → String
no setter
owner → String?
no setter
pendingRequestId → String?
no setter
registerDigest → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool includeData = true}) → Map<String, dynamic>
Omit bytes when the caller has already stored them in a separate record.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited