AcceptOption class
class AcceptOption extends ChromeObject { AcceptOption({String description, List<String> mimeTypes, List<String> extensions}) { if (description != null) this.description = description; if (mimeTypes != null) this.mimeTypes = mimeTypes; if (extensions != null) this.extensions = extensions; } AcceptOption.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); String get description => jsProxy['description']; set description(String value) => jsProxy['description'] = value; List<String> get mimeTypes => listify(jsProxy['mimeTypes']); set mimeTypes(List<String> value) => jsProxy['mimeTypes'] = jsify(value); List<String> get extensions => listify(jsProxy['extensions']); set extensions(List<String> value) => jsProxy['extensions'] = jsify(value); }
Extends
ChromeObject > AcceptOption
Constructors
new AcceptOption({String description, List<String> mimeTypes, List<String> extensions}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
AcceptOption({String description, List<String> mimeTypes, List<String> extensions}) { if (description != null) this.description = description; if (mimeTypes != null) this.mimeTypes = mimeTypes; if (extensions != null) this.extensions = extensions; }
new AcceptOption.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
AcceptOption.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String description #
String get description => jsProxy['description'];
set description(String value) => jsProxy['description'] = value;
List<String> extensions #
List<String> get extensions => listify(jsProxy['extensions']);
set extensions(List<String> value) => jsProxy['extensions'] = jsify(value);
List<String> mimeTypes #
List<String> get mimeTypes => listify(jsProxy['mimeTypes']);
set mimeTypes(List<String> value) => jsProxy['mimeTypes'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();