MethodChannelPublicFileSaver class

An implementation of PublicFileSaverPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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.
override
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.
override
toString() String
A string representation of this object.
inherited

Operators

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