FileSystemEntry class

The interface of the File and Directory Entries API represents a single entry in a file system. The entry can be a file or a directory (directories are represented by the FileSystemDirectoryEntry interface). It includes methods for working with files—including copying, moving, removing, and reading files—as well as information about a file it points to—including the file name and its path from the root to the entry.

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

Constructors

FileSystemEntry()
factory

Properties

filesystem FileSystem

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

no setter
fullPath String

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

no setter
hashCode int
The hash code for this object.
no setterinherited
isDirectory bool

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

no setter
isFile bool

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

no setter
name String

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

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

Methods

getParent([FileSystemEntryCallback? successCallback, ErrorCallback? errorCallback]) → void

Available on FileSystemEntry, provided by the PropsFileSystemEntry extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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