systemTemp property Null safety

Directory systemTemp

Gets the system temp directory.

Gets the directory provided by the operating system for creating temporary files and directories in. The location of the system temp directory is platform-dependent, and may be set by an environment variable.

Implementation

static Directory get systemTemp {
  final IOOverrides? overrides = IOOverrides.current;
  if (overrides == null) {
    return _Directory.systemTemp;
  }
  return overrides.getSystemTempDirectory();
}