ChunkedManifest class

In-memory representation of a manifest record.

Constructors

ChunkedManifest({required int generation, required int chunkCount, required int totalSize, required String? contentType, required Map<String, String> metadata, required DateTime lastModified})
In-memory decode of one manifest record.
const

Properties

chunkCount → int
Number of chunk records in generation.
final
contentType → String?
Stored content type, if any.
final
generation → int
Write generation whose chunk records this manifest points at. Each overwrite bumps it, so an in-flight write never touches the records a reader may be following.
final
hashCode → int
The hash code for this object.
no setterinherited
lastModified → DateTime
The manifest record's own timestamp — when the object last changed.
final
metadata → Map<String, String>
User metadata (the manifest's own bookkeeping keys stripped).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalSize → int
Logical object size in bytes (the sum of all chunks).
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