createTempDir function

Future<String> createTempDir()

Creates a temporary directory under the system temp folder.

The temporary directory name is formed from a uuid. It is your responsiblity to delete the directory once you have finsihed with it.

Implementation

Future<String> createTempDir() async => _CreateDir().createDir(
      join(Directory.systemTemp.path, '.dclitmp', const Uuid().v4()),
      recursive: true,
    );