DownloadTaskStatus class Null safety

A class defines a set of possible statuses of a download task

Constructors

DownloadTaskStatus(int value)
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override

Static Methods

from(int value) DownloadTaskStatus

Constants

canceled → const DownloadTaskStatus
complete → const DownloadTaskStatus
enqueued → const DownloadTaskStatus
failed → const DownloadTaskStatus
paused → const DownloadTaskStatus
running → const DownloadTaskStatus
undefined → const DownloadTaskStatus