filename property

String? get filename

A file path relative to the Downloads directory to contain the downloaded file, possibly containing subdirectories. Absolute paths, empty paths, and paths containing back-references ".." will cause an error. onDeterminingFilename allows suggesting a filename after the file's MIME type and a tentative filename have been determined.

Implementation

String? get filename => _wrapped.filename;
set filename (String? v)

Implementation

set filename(String? v) {
  _wrapped.filename = v;
}