DVAssetFile class abstract interface

One file of a site.

Properties

hash → String
Names its content: the same bytes have the same hash in every build.
no setter
hashCode → int
The hash code for this object.
no setterinherited
path → String
Its path under the site, with /.
no setter
protected → bool
Whether only an authorised caller may be sent it. Never kept by a cache shared between callers.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
How many bytes it is.
no setter
storedEncoding → DVAssetEncoding
How it is kept, and so what stored returns.
no setter
storedLength → int
How many bytes stored returns in all.
no setter

Methods

bytes() → Uint8List
Its content, decoded when it is kept encoded.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stored({int start = 0, int? end}) → Uint8List
Its bytes as kept, or the part from start to end: what a client that accepts storedEncoding is sent as it is.
toString() → String
A string representation of this object.
inherited

Operators

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