Dart Documentationchrome.appLaunchItem

LaunchItem class

class LaunchItem extends ChromeObject {
 LaunchItem({FileEntry entry, String type}) {
   if (entry != null) this.entry = entry;
   if (type != null) this.type = type;
 }
 LaunchItem.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 FileEntry get entry => _createFileEntry(jsProxy['entry']);
 set entry(FileEntry value) => jsProxy['entry'] = jsify(value);

 String get type => jsProxy['type'];
 set type(String value) => jsProxy['type'] = value;
}

Extends

ChromeObject > LaunchItem

Constructors

new LaunchItem({FileEntry entry, String type}) #

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

docs inherited from ChromeObject
LaunchItem({FileEntry entry, String type}) {
 if (entry != null) this.entry = entry;
 if (type != null) this.type = type;
}

new LaunchItem.fromProxy(JsObject jsProxy) #

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

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

Properties

FileEntry entry #

FileEntry get entry => _createFileEntry(jsProxy['entry']);
set entry(FileEntry value) => jsProxy['entry'] = jsify(value);

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String type #

String get type => jsProxy['type'];
set type(String value) => jsProxy['type'] = 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();