systemTemp property Null safety

Directory systemTemp

The system temp directory.

This is the directory provided by the operating system for creating temporary files and directories in. The location of the system temporary directory is platform-dependent, and may be controlled by an environment variable on some platforms.


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