StateTransactionChunkRequest<ChunkType extends Object> class

One correlated request in an acknowledged chunk transfer.

Constructors

StateTransactionChunkRequest({required int transactionId, required StateTransactionChunkOperation operation, required int index, required int count, ChunkType? chunk})
Creates a validated chunk request.

Properties

chunk → ChunkType?
Restore payload, or null when requesting a snapshot chunk.
final
count → int
Total number of chunks in the transfer.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Zero-based chunk index.
final
operation → StateTransactionChunkOperation
Operation for this chunk.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transactionId → int
Transaction identifier shared by every chunk in the transfer.
final

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