FetchUrl class
Used to describe a url that is being downloaded including the location where it is going to be stored.
Constructors
- FetchUrl({required String url, required String saveToPath, OnFetchProgress progress = _devNull})
- ctor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- progress → OnFetchProgress
-
If provided this is the callback to allow the caller
to monitor the download progress.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveToPath → String
-
The path to the file the download will be saved to.
final
- url → String
-
the URL of the resource being downloaded
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