Dart Documentationchrome.fileSystemChooseEntryOptions

ChooseEntryOptions class

class ChooseEntryOptions extends ChromeObject {
 ChooseEntryOptions({ChooseEntryType type, String suggestedName, List<AcceptOption> accepts, bool acceptsAllTypes, bool acceptsMultiple}) {
   if (type != null) this.type = type;
   if (suggestedName != null) this.suggestedName = suggestedName;
   if (accepts != null) this.accepts = accepts;
   if (acceptsAllTypes != null) this.acceptsAllTypes = acceptsAllTypes;
   if (acceptsMultiple != null) this.acceptsMultiple = acceptsMultiple;
 }
 ChooseEntryOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 ChooseEntryType get type => _createChooseEntryType(jsProxy['type']);
 set type(ChooseEntryType value) => jsProxy['type'] = jsify(value);

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

 List<AcceptOption> get accepts => listify(jsProxy['accepts'], _createAcceptOption);
 set accepts(List<AcceptOption> value) => jsProxy['accepts'] = jsify(value);

 bool get acceptsAllTypes => jsProxy['acceptsAllTypes'];
 set acceptsAllTypes(bool value) => jsProxy['acceptsAllTypes'] = value;

 bool get acceptsMultiple => jsProxy['acceptsMultiple'];
 set acceptsMultiple(bool value) => jsProxy['acceptsMultiple'] = value;
}

Extends

ChromeObject > ChooseEntryOptions

Constructors

new ChooseEntryOptions({ChooseEntryType type, String suggestedName, List<AcceptOption> accepts, bool acceptsAllTypes, bool acceptsMultiple}) #

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

docs inherited from ChromeObject
ChooseEntryOptions({ChooseEntryType type, String suggestedName, List<AcceptOption> accepts, bool acceptsAllTypes, bool acceptsMultiple}) {
 if (type != null) this.type = type;
 if (suggestedName != null) this.suggestedName = suggestedName;
 if (accepts != null) this.accepts = accepts;
 if (acceptsAllTypes != null) this.acceptsAllTypes = acceptsAllTypes;
 if (acceptsMultiple != null) this.acceptsMultiple = acceptsMultiple;
}

new ChooseEntryOptions.fromProxy(JsObject jsProxy) #

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

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

Properties

List<AcceptOption> accepts #

List<AcceptOption> get accepts => listify(jsProxy['accepts'], _createAcceptOption);
set accepts(List<AcceptOption> value) => jsProxy['accepts'] = jsify(value);

bool acceptsAllTypes #

bool get acceptsAllTypes => jsProxy['acceptsAllTypes'];
set acceptsAllTypes(bool value) => jsProxy['acceptsAllTypes'] = value;

bool acceptsMultiple #

bool get acceptsMultiple => jsProxy['acceptsMultiple'];
set acceptsMultiple(bool value) => jsProxy['acceptsMultiple'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String suggestedName #

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

ChooseEntryType type #

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