W3cubDocs

/Dart 2

createTempSync method

Directory createTempSync ([String prefix ])

Synchronously creates a temporary directory in this directory. Additional random characters are appended to prefix to produce a unique directory name. If prefix is missing or null, the empty string is used for prefix.

Returns the newly created temporary directory.

Implementation

Directory createTempSync([String prefix]);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/Directory/createTempSync.html