RemoteFile class final

A file to download: where it is published, and the size and SHA-256 it must have.

Constructors

RemoteFile(String name, String url, {required int size, required String sha256})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name it gets on disk.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 → String
Lowercase hex.
final
size → int
final
url → String
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