FileStatusInfo class
class FileStatusInfo extends ChromeObject {
FileStatusInfo({Entry fileEntry, FileStatus status, String error}) {
if (fileEntry != null) this.fileEntry = fileEntry;
if (status != null) this.status = status;
if (error != null) this.error = error;
}
FileStatusInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Entry get fileEntry => _createEntry(jsProxy['fileEntry']);
set fileEntry(Entry value) => jsProxy['fileEntry'] = jsify(value);
FileStatus get status => _createFileStatus(jsProxy['status']);
set status(FileStatus value) => jsProxy['status'] = jsify(value);
String get error => jsProxy['error'];
set error(String value) => jsProxy['error'] = value;
}
Extends
ChromeObject > FileStatusInfo
Constructors
new FileStatusInfo({Entry fileEntry, FileStatus status, String error}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
FileStatusInfo({Entry fileEntry, FileStatus status, String error}) {
if (fileEntry != null) this.fileEntry = fileEntry;
if (status != null) this.status = status;
if (error != null) this.error = error;
}
new FileStatusInfo.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
FileStatusInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String error #
String get error => jsProxy['error'];
set error(String value) => jsProxy['error'] = value;
Entry fileEntry #
Entry get fileEntry => _createEntry(jsProxy['fileEntry']);
set fileEntry(Entry value) => jsProxy['fileEntry'] = jsify(value);
FileStatus status #
FileStatus get status => _createFileStatus(jsProxy['status']);
set status(FileStatus value) => jsProxy['status'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();