FileSystemFileEntry extension type
The FileSystemFileEntry
interface of the
File and Directory Entries API
represents a file in a file system. It offers properties describing the
file's attributes, as well as the FileSystemFileEntry.file method, which
creates a File object that can be used to read the file.
- 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
-
file(
FileCallback successCallback, [ErrorCallback errorCallback]) → void -
The FileSystemFileEntry interface's method
file()
returns a File object which can be used to read data from the file represented by the directory entry. -
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