JSaverAndroid class

Inheritance

Constructors

JSaverAndroid()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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
override
getAccessedDirectories() Future<List<FilesModel>>
Future method getDefaultSavingDirectory has FilesModel return Value
override
getApplicationDirectory() Future<String>
Future method getApplicationDirectory has String return Value
override
getCacheDirectory() Future<String>
Future method getCacheDirectory has String return Value
override
getDefaultSavingDirectory() Future<FilesModel>
Future method getDefaultSavingDirectory has FilesModel return Value
override
grantAccessToDirectory() Future<FilesModel>
Future method grantAccessToDirectory has FilesModel return Value
override
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
override
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
override
setDefaultSavingDirectory() Future<FilesModel>
Future method setDefaultSavingDirectory has FilesModel return Value
override
toString() String
A string representation of this object.
inherited

Operators

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