FileSaveService class

Exports temporary downloads through the Android and iOS save dialogs.

Constructors

FileSaveService({Future<Directory> temporaryDirectory()?, Future<String?> saveFile(String path, String fileName)?})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveDownloadedFile(Future<MaterialFileDto> download(String directory), {bool canSave()?}) → Future<bool>
Downloads and exports a file, cleaning temporary data on every outcome.
toString() → String
A string representation of this object.
inherited

Operators

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