SafUtilPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • SafUtilPlatform
Implementers

Constructors

SafUtilPlatform()
Constructs a SafUtilPlatform.

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

child(String uri, List<String> names) Future<SafDocumentFile?>
copyTo(String uri, bool isDir, String newParentUri) Future<SafDocumentFile>
delete(String uri, bool isDir) Future<void>
documentFileFromUri(String uri, bool isDir) Future<SafDocumentFile?>
exists(String uri, bool isDir) Future<bool>
list(String uri) Future<List<SafDocumentFile>>
mkdirp(String uri, List<String> names) Future<SafDocumentFile>
moveTo(String uri, bool isDir, String parentUri, String newParentUri) Future<SafDocumentFile>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDirectory({String? initialUri, bool? writePermission, bool? persistablePermission}) Future<String?>
openFile({String? initialUri, List<String>? mimeTypes}) Future<String?>
openFiles({String? initialUri, List<String>? mimeTypes, dynamic multiple = true}) Future<List<String>?>
pickDirectory({String? initialUri, bool? writePermission, bool? persistablePermission}) Future<SafDocumentFile?>
pickFile({String? initialUri, List<String>? mimeTypes}) Future<SafDocumentFile?>
pickFiles({String? initialUri, List<String>? mimeTypes, dynamic multiple = true}) Future<List<SafDocumentFile>?>
rename(String uri, bool isDir, String newName) Future<SafDocumentFile>
saveThumbnailToFile({required String uri, required int width, required int height, required String destPath, String? format, int? quality}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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