FileHandlerExecuteEventDetails class
Event details payload for fileBrowserHandler.onExecute event.
class FileHandlerExecuteEventDetails extends ChromeObject {
FileHandlerExecuteEventDetails({List<dynamic> entries, int tab_id}) {
if (entries != null) this.entries = entries;
if (tab_id != null) this.tab_id = tab_id;
}
FileHandlerExecuteEventDetails.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* Array of Entry instances representing files that are targets of this action
* (selected in ChromeOS file browser).
*/
List<dynamic> get entries => listify(jsProxy['entries']);
set entries(List<dynamic> value) => jsProxy['entries'] = jsify(value);
/**
* The ID of the tab that raised this event. Tab IDs are unique within a
* browser session.
*/
int get tab_id => jsProxy['tab_id'];
set tab_id(int value) => jsProxy['tab_id'] = value;
}
Extends
ChromeObject > FileHandlerExecuteEventDetails
Constructors
new FileHandlerExecuteEventDetails({List<dynamic> entries, int tab_id}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
FileHandlerExecuteEventDetails({List<dynamic> entries, int tab_id}) {
if (entries != null) this.entries = entries;
if (tab_id != null) this.tab_id = tab_id;
}
new FileHandlerExecuteEventDetails.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
FileHandlerExecuteEventDetails.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
List<dynamic> entries #
Array of Entry instances representing files that are targets of this action (selected in ChromeOS file browser).
List<dynamic> get entries => listify(jsProxy['entries']);
set entries(List<dynamic> value) => jsProxy['entries'] = jsify(value);
int tab_id #
The ID of the tab that raised this event. Tab IDs are unique within a browser session.
int get tab_id => jsProxy['tab_id'];
set tab_id(int value) => jsProxy['tab_id'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();