DirectoryEntry class
- Inheritance
- Annotations
-
- @Native("DirectoryEntry,webkitFileSystemDirectoryEntry,FileSystemDirectoryEntry")
Properties
- filesystem → FileSystem? read-onlyinherited
- fullPath → String? read-onlyinherited
- hashCode → int read-onlyinherited
- The hash code for this object.
- isDirectory → bool? read-onlyinherited
- isFile → bool? read-onlyinherited
- name → String? read-onlyinherited
- runtimeType → Type read-onlyinherited
- A representation of the runtime type of the object.
Methods
- copyTo(
DirectoryEntry parent, {String? name}) → Future< Entry> inherited - createDirectory(
String path, {bool exclusive = false}) → Future< Entry> - Create a new directory with the specified
path. Ifexclusiveis true, the returned Future will complete with an error if a directory already exists with the specifiedpath. - createFile(
String path, {bool exclusive = false}) → Future< Entry> - Create a new file with the specified
path. Ifexclusiveis true, the returned Future will complete with an error if a file already exists at the specifiedpath. - createReader(
) → DirectoryReader - getDirectory(
String path) → Future< Entry> - Retrieve an already existing directory entry. The returned future will result in an error if a directory at
pathdoes not exist or if the item atpathis not a directory. - getFile(
String path) → Future< Entry> - Retrieve an already existing file entry. The returned future will result in an error if a file at
pathdoes not exist or if the item atpathis not a file. - getMetadata(
) → Future< Metadata> inherited - getParent(
) → Future< Entry> inherited - moveTo(
DirectoryEntry parent, {String? name}) → Future< Entry> inherited - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed.
- remove(
) → Future inherited - removeRecursively(
) → Future - toString(
) → String inherited - A string representation of this object.
- toUrl(
) → String inherited
Operators
- operator ==(
Object other) → bool inherited - The equality operator.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-html/DirectoryEntry-class.html