MethodChannelDeviceStorage class
Methods
-
deleteFile({required String fileName, String? folderPath, bool fromRoot = false})
→ Future<bool>
-
override
-
deleteFromDCIM({required String fileName, String? subfolder})
→ Future<bool>
-
override
-
deleteFromRoot({required String fileName, String? folderPath})
→ Future<bool>
-
override
-
fileExists({required String fileName, String? folderPath, bool fromRoot = false})
→ Future<bool>
-
override
-
getFile({required String fileName, String? folderPath, bool fromRoot = false})
→ Future<Uint8List?>
-
override
-
getFromDCIM({required String fileName, String? subfolder})
→ Future<Uint8List?>
-
override
-
getFromRoot({required String fileName, String? folderPath})
→ Future<Uint8List?>
-
override
-
getMimeType(String fileName)
→ String
-
override
-
getPlatformVersion()
→ Future<String?>
-
override
-
hasPermissions()
→ Future<bool>
-
override
-
hasRootAccess()
→ Future<bool>
-
override
-
listFiles({String? folderPath, bool fromRoot = false})
→ Future<List<String>>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openPermissionSettings()
→ Future<void>
-
override
-
openSettings()
→ Future<void>
-
override
-
requestPermissions({bool toRootAccess = false})
→ Future<bool>
-
override
-
saveFile({required Uint8List bytes, required String fileName, String? folderPath, bool saveToRoot = false})
→ Future<String?>
-
override
-
saveFileFromPath({required String filePath, String? folderPath, bool saveToRoot = false})
→ Future<String?>
-
override
-
saveToDCIM({required Uint8List bytes, required String fileName, String? subfolder})
→ Future<String?>
-
override
-
saveToRoot({required Uint8List bytes, required String fileName, String? folderPath})
→ Future<String?>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited