FileSaver class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
saveAs({required String name, Uint8List? bytes, File? file, String? filePath, LinkDetails? link, required String ext, required MimeType mimeType, String? customMimeType, Dio? dioClient, Uint8List transformDioResponse(dynamic data)?})
→ Future<String?>
-
saveAs This method will open a Save As File dialog where user can select the location for saving file.
-
saveFile({required String name, Uint8List? bytes, File? file, String? filePath, LinkDetails? link, String ext = '', MimeType mimeType = MimeType.other, String? customMimeType, Dio? dioClient, Uint8List transformDioResponse(dynamic data)?})
→ Future<String>
-
saveFile main method which saves the file for all platforms.
-
saveFileOnly({required String name, required File file, String ext = '', MimeType mimeType = MimeType.other, String? customMimeType})
→ Future<String?>
-
-
toString()
→ String
-
A string representation of this object.
inherited