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