ProgressImplementation class

Class used to notify to the presentation layer the status of the download.

Inheritance

Constructors

ProgressImplementation()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getProgress(String url) Future<int>
Retrieve the progress of the download from a specific url if null then returns 0.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetProgress(String url) Future<void>
Remove any progress.
inherited
setProgress(String url, int received) Future<void>
Set the progress of the download from a specific url
override
toString() String
A string representation of this object.
inherited

Operators

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