DirectoryEntry class - dart:html library (original) (raw)

Inheritance

Annotations

Properties

filesystemFileSystem?

no setterinherited

fullPathString?

no setterinherited

hashCodeint

The hash code for this object.

no setterinherited

isDirectorybool?

no setterinherited

isFilebool?

no setterinherited

nameString?

no setterinherited

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

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. 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 atpath is not a file.

getMetadata()→ Future<Metadata>

inherited

getParent()→ Future<Entry>

inherited

moveTo(DirectoryEntry parent, {String? name})→ Future<Entry>

inherited

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

remove()→ Future

inherited

removeRecursively()→ Future

toString()→ String

A string representation of this object.

inherited

toUrl()→ String

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited