JSaverWeb class
A web implementation of the JSaverPlatform of the JSaver plugin.
- Inheritance
-
- Object
- PlatformInterface
- JSaverPlatform
- JSaverWeb
Constructors
- JSaverWeb.new()
- 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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveFromData(
{required Uint8List data, required String name, FileType type = FileType.OTHER}) → Future< String> -
Future method saveFromData
takes the Uint8List bytes and String name and FileType type
has String return Value
override
-
saveFromFile(
{required File file}) → Future< String> -
Future method saveFromFile
takes the File file from dart:io
return String value the path of savedFile
Or It Can return String ERROR From catch()
inherited
-
saveFromPath(
{required String path}) → Future< String> -
Future method saveFromPath
takes the String path
return String value the path of savedFile
Or It Can return String ERROR From catch()
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