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