StateTransactionChunkCompletion<ChunkType extends Object> class

Completion acknowledgement for one chunk transfer request.

Constructors

StateTransactionChunkCompletion({required int transactionId, required StateTransactionChunkOperation operation, required int index, required int count, required bool complete, ChunkType? chunk})
Creates a validated chunk completion.

Properties

chunk → ChunkType?
Snapshot payload, or null for restore acknowledgements.
final
complete → bool
Whether this was the final chunk in the transfer.
final
count → int
Number of chunks in the complete transfer.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Zero-based completed chunk index.
final
operation → StateTransactionChunkOperation
Completed operation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transactionId → int
Transaction identifier copied from the request.
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