FileSystemHandle 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 is an object which represents a file or directory entry. Multiple handles can represent the same entry. For the most part you do not work with directly but rather its child interfaces FileSystemFileHandle and FileSystemDirectoryHandle.

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

Constructors

FileSystemHandle()
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

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

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

Available on FileSystemHandle, provided by the PropsFileSystemHandle extension

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

Operators

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