JSaver class
Constructors
- JSaver()
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 Uint8List data and String name
nameMust Contains .extension return String value the path of savedFile -
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()
-
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()
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited