DownloadStatus enum

Possible status for download tasks

Inheritance

Constructors

DownloadStatus()
const

Values

successful → const DownloadStatus

The download has concluded successfully. (considered as finished)

running → const DownloadStatus

The task is running.

pending → const DownloadStatus

The task has not started yet.

paused → const DownloadStatus

The download is paused. (considered as finished)

failed → const DownloadStatus

The download has failed. (considered as finished)

canceling → const DownloadStatus

The download is being canceled.

This status is only used on iOS.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<DownloadStatus>
A constant List of the values in this enum, in order of their declaration.