FilenameSuggestion class

Constructors

FilenameSuggestion({required String filename, FilenameConflictAction? conflictAction})
FilenameSuggestion.fromJS(FilenameSuggestion _wrapped)

Properties

conflictAction FilenameConflictAction?
The action to take if filename already exists.
getter/setter pair
filename String
The DownloadItem's new target DownloadItem.filename, as a path relative to the user's default Downloads directory, possibly containing subdirectories. Absolute paths, empty paths, and paths containing back-references ".." will be ignored. filename is ignored if there are any onDeterminingFilename listeners registered by any extensions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → FilenameSuggestion
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited