DownloadApi class
Constructors
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
-
cancel(
) → void -
downListen(
ProgressCallback progressEvt) → DownloadApi -
failListen(
dynamic failEvt(String fail)) → DownloadApi -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
) → void - 网络请求
-
setHeader(
Map< String, dynamic> headers) → DownloadApi -
setSavePath(
String path) → DownloadApi -
setUrl(
String url) → DownloadApi -
successListen(
dynamic successEvt(String savePath, String content)) → DownloadApi -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited