FileSystemDirectoryEntry extension type
The FileSystemDirectoryEntry
interface of the
File and Directory Entries API
represents a directory in a file system. It provides methods which make it
possible to access and manipulate the files in a directory, as well as to
access the entries within the directory.
- on
- Implemented types
Properties
- filesystem → FileSystem
-
no setterinherited
- fullPath → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirectory → bool
-
no setterinherited
- isFile → bool
-
no setterinherited
- name → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createReader(
) → FileSystemDirectoryReader -
The FileSystemDirectoryEntry interface's method
createReader()
returns a FileSystemDirectoryReader object which can be used to read the entries in the directory. -
getDirectory(
[String? path, FileSystemFlags options, FileSystemEntryCallback successCallback, ErrorCallback errorCallback]) → void -
The FileSystemDirectoryEntry interface's method
getDirectory()
returns a FileSystemDirectoryEntry object corresponding to a directory contained somewhere within the directory subtree rooted at the directory on which it's called. -
getFile(
[String? path, FileSystemFlags options, FileSystemEntryCallback successCallback, ErrorCallback errorCallback]) → void -
The FileSystemDirectoryEntry interface's method
getFile()
returns a FileSystemFileEntry object corresponding to a file contained somewhere within the directory subtree rooted at the directory on which it's called. -
getParent(
[FileSystemEntryCallback successCallback, ErrorCallback errorCallback]) → void -
The FileSystemEntry interface's method
getParent()
obtains a FileSystemDirectoryEntry.inherited -
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