FileSystemHandle class abstract

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

FileSystemHandle.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
kind FileSystemKind

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Returns the type of entry. file if the associated entry is a file or directory.
no setter
name String

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Returns the name of the associated entry (extension included).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSameEntry(FileSystemHandle other) Future<bool>

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Compares two handles to see if the associated entries (either a file or directory) match.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryPermission({required PermissionMode mode}) Future<PermissionState>

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Queries the current permission state of the current handle.
remove({bool recursive = false}) Future<void>

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Requests removal of the entry represented by the handle from the underlying file system. When recursive is set to true and the entry is a directory, its contents will be removed recursively.
requestPermission({required PermissionMode mode}) Future<PermissionState>

Available on FileSystemHandle, provided by the JSFileSystemHandle extension

Requests read or readwrite permissions for the file handle.
toString() String
A string representation of this object.
inherited

Operators

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