DownloadState enum
Represents the possible states of a download process.
Values
- preparing → const DownloadState
-
The download is being prepared.
- downloading → const DownloadState
-
The download is in progress.
- converting → const DownloadState
-
The downloaded file is being converted.
- merging → const DownloadState
-
Video and audio streams are being merged.
- completed → const DownloadState
-
The download has completed successfully.
- canceled → const DownloadState
-
The download was canceled by the user.
- failed → const DownloadState
-
The download failed due to an error.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
DownloadState> - A constant List of the values in this enum, in order of their declaration.