JSaverPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • JSaverPlatform
Implementers

Constructors

JSaverPlatform.new()
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

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
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

Static Properties

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