dir property

String? get dir

Directory where the temporary directory should be created (defaults to the env variable TMPDIR, or the system's default, usually /tmp).

Note that if the passed dir is relative, the path returned by makeTempFile() and makeTempDir() will also be relative. Be mindful of this when changing working directory.

Implementation

_i2.String? get dir => _i3.getProperty(
      this,
      'dir',
    );
set dir (String? value)

Implementation

set dir(_i2.String? value) {
  _i3.setProperty(
    this,
    'dir',
    value ?? _i6.undefined,
  );
}