FileSystemDirectoryHandle class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the File System Access API provides a handle to a file system directory. The interface is accessed via the window.showDirectoryPicker() method.

FileSystemHandle

FileSystemDirectoryHandle

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

FileSystemDirectoryHandle()
factory

Properties

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

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

no setter
name String

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDirectoryHandle(String name, [FileSystemGetDirectoryOptions? options]) Future<FileSystemDirectoryHandle>

Available on FileSystemDirectoryHandle, provided by the PropsFileSystemDirectoryHandle extension

getFileHandle(String name, [FileSystemGetFileOptions? options]) Future<FileSystemFileHandle>

Available on FileSystemDirectoryHandle, provided by the PropsFileSystemDirectoryHandle extension

isSameEntry(FileSystemHandle other) Future<bool>

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryPermission([FileSystemHandlePermissionDescriptor? descriptor]) Future<PermissionState>

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

removeEntry(String name, [FileSystemRemoveOptions? options]) Future<void>

Available on FileSystemDirectoryHandle, provided by the PropsFileSystemDirectoryHandle extension

requestPermission([FileSystemHandlePermissionDescriptor? descriptor]) Future<PermissionState>

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

resolve(FileSystemHandle possibleDescendant) Future<Iterable<String>>

Available on FileSystemDirectoryHandle, provided by the PropsFileSystemDirectoryHandle extension

toString() String
A string representation of this object.
inherited

Operators

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