JSaverWeb class
A web implementation of the JSaverPlatform of the JSaver plugin.
Constructors
- JSaverWeb()
- Constructs a JSaverWeb
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 Valueinherited -
getAccessedDirectories(
) → Future< List< FilesModel> > -
Future method getAccessedDirectories
has List of FilesModel as return Value
inherited
-
getApplicationDirectory(
) → Future< String> -
Future method getApplicationDirectory
has String return Value
inherited
-
getCacheDirectory(
) → Future< String> -
Future method getCacheDirectory
has String return Value
inherited
-
getDefaultSavingDirectory(
) → Future< FilesModel> -
Future method getDefaultSavingDirectory
has FilesModel return Value
inherited
-
grantAccessToDirectory(
) → Future< FilesModel> -
Future method grantAccessToDirectory
has FilesModel return Value
inherited
-
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 Valueinherited -
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
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void