PublicFileSaverPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PublicFileSaverPlatform
Implementers

Constructors

PublicFileSaverPlatform()
Constructs a PublicFileSaverPlatform.

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
saveBytes({required Uint8List bytes, required String fileName, String mimeType = 'application/octet-stream', String? subDir}) Future<PublicSavedFile?>
Save bytes to a public visible location without showing a dialog.
saveBytesWithDialog({required Uint8List bytes, required String fileName, String mimeType = 'application/octet-stream', List<String>? fileSuffixChoices}) Future<PublicSavedFile?>
Save bytes to a user-selected location via system file picker dialog.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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