MethodChannelSafUtil class
An implementation of SafUtilPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SafUtilPlatform
- MethodChannelSafUtil
Constructors
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
-
child(
String uri, List< String> names) → Future<SafDocumentFile?> -
override
-
copyTo(
String uri, bool isDir, String newParentUri) → Future< SafDocumentFile> -
override
-
delete(
String uri, bool isDir) → Future< void> -
override
-
documentFileFromUri(
String uri, bool isDir) → Future< SafDocumentFile?> -
override
-
exists(
String uri, bool isDir) → Future< bool> -
override
-
list(
String uri) → Future< List< SafDocumentFile> > -
override
-
mkdirp(
String uri, List< String> names) → Future<SafDocumentFile> -
override
-
moveTo(
String uri, bool isDir, String parentUri, String newParentUri) → Future< SafDocumentFile> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openDirectory(
{String? initialUri, bool? writePermission, bool? persistablePermission}) → Future< String?> -
override
-
openFile(
{String? initialUri, List< String> ? mimeTypes}) → Future<String?> -
override
-
openFiles(
{String? initialUri, List< String> ? mimeTypes, dynamic multiple = true}) → Future<List< String> ?> -
override
-
pickDirectory(
{String? initialUri, bool? writePermission, bool? persistablePermission}) → Future< SafDocumentFile?> -
override
-
pickFile(
{String? initialUri, List< String> ? mimeTypes}) → Future<SafDocumentFile?> -
override
-
pickFiles(
{String? initialUri, List< String> ? mimeTypes, dynamic multiple = true}) → Future<List< SafDocumentFile> ?> -
override
-
rename(
String uri, bool isDir, String newName) → Future< SafDocumentFile> -
override
-
saveThumbnailToFile(
{required String uri, required int width, required int height, required String destPath, String? format, int? quality}) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited