Dart Documentationchrome.downloadsState

State class

in_progress
The download is currently receiving data from the server.
interrupted
An error broke the connection with the file host.
complete
The download completed successfully.
class State extends ChromeEnum {
 static const State IN_PROGRESS = const State._('in_progress');
 static const State INTERRUPTED = const State._('interrupted');
 static const State COMPLETE = const State._('complete');

 static const List<State> VALUES = const[IN_PROGRESS, INTERRUPTED, COMPLETE];

 const State._(String str): super(str);
}

Extends

ChromeEnum > State

Static Properties

const State COMPLETE #

static const State COMPLETE = const State._('complete')

const State IN_PROGRESS #

static const State IN_PROGRESS = const State._('in_progress')

const State INTERRUPTED #

static const State INTERRUPTED = const State._('interrupted')

const List<State> VALUES #

static const List<State> VALUES = const[IN_PROGRESS, INTERRUPTED, COMPLETE]

Properties

final String value #

inherited from ChromeEnum
final String value

Methods

String toString() #

inherited from ChromeEnum

Returns a string representation of this object.

docs inherited from Object
String toString() => value;