Dart Documentationchrome.syncFileSystemFileInfo

FileInfo class

class FileInfo extends ChromeObject {
 FileInfo({Entry fileEntry, FileStatus status, SyncAction action, SyncDirection direction}) {
   if (fileEntry != null) this.fileEntry = fileEntry;
   if (status != null) this.status = status;
   if (action != null) this.action = action;
   if (direction != null) this.direction = direction;
 }
 FileInfo.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);

 SyncAction get action => _createSyncAction(jsProxy['action']);
 set action(SyncAction value) => jsProxy['action'] = jsify(value);

 SyncDirection get direction => _createSyncDirection(jsProxy['direction']);
 set direction(SyncDirection value) => jsProxy['direction'] = jsify(value);
}

Extends

ChromeObject > FileInfo

Constructors

new FileInfo({Entry fileEntry, FileStatus status, SyncAction action, SyncDirection direction}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
FileInfo({Entry fileEntry, FileStatus status, SyncAction action, SyncDirection direction}) {
 if (fileEntry != null) this.fileEntry = fileEntry;
 if (status != null) this.status = status;
 if (action != null) this.action = action;
 if (direction != null) this.direction = direction;
}

new FileInfo.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
FileInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

SyncAction action #

SyncAction get action => _createSyncAction(jsProxy['action']);
set action(SyncAction value) => jsProxy['action'] = jsify(value);

SyncDirection direction #

SyncDirection get direction => _createSyncDirection(jsProxy['direction']);
set direction(SyncDirection value) => jsProxy['direction'] = jsify(value);

Entry fileEntry #

Entry get fileEntry => _createEntry(jsProxy['fileEntry']);
set fileEntry(Entry value) => jsProxy['fileEntry'] = jsify(value);

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

FileStatus status #

FileStatus get status => _createFileStatus(jsProxy['status']);
set status(FileStatus value) => jsProxy['status'] = jsify(value);

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();