DownloadAsset class final

A reviewed download. Every location must serve the same pinned bytes.

Constructors

DownloadAsset({required String url, required String sha256, List<String> mirrors = const []})
Names the primary URL and any published mirrors, in order.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
mirrors → List<String>
Published alternative URLs, which may name zip members as url can.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 → String
SHA-256 of the only accepted bytes.
final
url → String
The primary URL. One whose path ends in .zip and that has a fragment names that member of the archive, such as https://host/libraries.zip#text/linux_x86_64/libtext.so.
final
urls → Iterable<String>
Every source in fallback order.
no setter

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