JSaver class abstract

Inheritance
  • Object
  • PlatformInterface
  • JSaver
Implementers

Constructors

JSaver()
Constructs a JSaverPlatform.

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

cleanAppCacheDirs({bool cleanDefault = false, bool cleanAccessedDirs = false, bool cleanCache = true}) Future<String>
Future method cleanAppCacheDirs take bool _ cleanDefault take bool _ cleanAccessedDirs take bool _ cleanCache has String return Value
getAccessedDirectories() Future<List<FilesModel>>
Future method getAccessedDirectories has List of FilesModel as return Value
getApplicationDirectory() Future<String>
Future method getApplicationDirectory has String return Value
getCacheDirectory() Future<String>
Future method getCacheDirectory has String return Value
getDefaultSavingDirectory() Future<FilesModel>
Future method getDefaultSavingDirectory has FilesModel return Value
grantAccessToDirectory() Future<FilesModel>
Future method grantAccessToDirectory has FilesModel return Value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save({String toDirectory = "", String fromPath = "", File? fromFile, FilesModel? fromData, List<String> fromPaths = const [], List<File> fromFiles = const [], List<FilesModel> fromDataList = const [], AndroidPathOptions? androidPathOptions}) Future<List<FilesModel>>
Future method save has String _ fromPath has String _ toDirectory has File _ fromFile has FilesModel _ fromData has List of String_ fromPaths has List of File_ fromFiles has List of FilesModel_ fromDataList has AndroidPathOptions _ androidPathOptions has List of FilesModel return Value
saveFromData({required Uint8List data, required String name, JSaverFileType type = JSaverFileType.OTHER}) Future<String>
Future method saveFromData takes the Uint8List bytes and String name and JSaverFileType type has String return Value
setDefaultSavingDirectory() Future<FilesModel>
Future method setDefaultSavingDirectory has FilesModel return Value
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance JSaver
The default instance of JSaverPlatform to use.
getter/setter pair