currentDirectory property

  1. @override
Directory currentDirectory
override

Creates a directory object pointing to the current working directory.

Implementation

@override
Directory get currentDirectory => delegate.currentDirectory;
  1. @override
void currentDirectory=(dynamic path)
override

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).

Implementation

@override
set currentDirectory(dynamic path) => delegate.currentDirectory = path;