dart:html
DirectoryEntry class
- Inheritance
- Annotations
- @Native("DirectoryEntry")
Properties
- filesystem → FileSystem
final, inherited
- fullPath → String
final, inherited
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- isDirectory → bool
final, inherited
- isFile → bool
final, inherited
- name → String
final, inherited
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- createDirectory(String path, { bool exclusive: false }) → Future<Entry>
- Create a new directory with the specified
path
. If exclusive
is true, the returned Future will complete with an error if a directory already exists with the specified path
. - createFile(String path, { bool exclusive: false }) → Future<Entry>
- Create a new file with the specified
path
. If exclusive
is true, the returned Future will complete with an error if a file already exists at the specified path
. - 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
path
does not exist or if the item at path
is 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
path
does not exist or if the item at path
is not a file. - removeRecursively() → Future
@JSName('removeRecursively')
- copyTo(DirectoryEntry parent, { String name }) → Future<Entry>
@JSName('copyTo'), inherited
- getMetadata() → Future<Metadata>
@JSName('getMetadata'), inherited
- getParent() → Future<Entry>
@JSName('getParent'), inherited
- moveTo(DirectoryEntry parent, { String name }) → Future<Entry>
@JSName('moveTo'), inherited
- noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed. [...]
- remove() → Future
@JSName('remove'), inherited
- toString() → String
inherited
- Returns a string representation of this object.
- toUrl() → String
@JSName('toURL'), inherited
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]