DownloadResult class
The outcome of a completed download.
Constructors
Properties
- bytes → Uint8List?
-
The bytes, for an in-memory download.
final
- file → File?
-
Where the bytes were written, or
nullfor an in-memory download.final - hashCode → int
-
The hash code for this object.
no setterinherited
- resumed → bool
-
Whether the download resumed a partial file rather than starting fresh.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sha256 → String
-
The SHA-256 of the complete artifact, lower-case hex.
final
- sizeBytes → int
-
Total bytes now present.
final
- wasCached → bool
-
Whether the file was already complete and verified, so nothing was
transferred.
final
Methods
-
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