currentDirectory property

Directory currentDirectory

Creates a directory object pointing to the current working directory.


Directory get currentDirectory;
void currentDirectory=(dynamic path)

Sets the current working directory to the specified path.

The new value set can be either a Directory or a String.

Relative paths will be resolved by the underlying file system implementation (meaning it is up to the underlying implementation to decide whether to support relative paths).


set currentDirectory(dynamic path);