WebFileManifest class final

Immutable, read-only view of a web file's manifest.

Properties

chunkCount → int
Number of chunks covering logicalLength.
no setter
chunkSize → int
Chunk size in bytes.
final
generation → int
Commit generation this snapshot was loaded from/written as.
final
hashCode → int
The hash code for this object.
no setterinherited
logicalLength → int
Logical length in bytes.
final
materializedChunks → int
Number of chunks currently materialized in OPFS.
no setter
path → String
Logical path.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slot → int
Manifest slot this snapshot came from (0 -> m.a, 1 -> m.b, -1 -> the file was created by the current instance and no slot was read).
final

Methods

chunkCrc(int index) → int?
Stored CRC-32 of chunk index, or null when unknown.
isMaterialized(int index) → bool
Whether chunk index exists.
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.
inherited