createSystemTemp static method

FilePath createSystemTemp([
  1. String? prefix
])

Creates a temporary directory in the system temp directory. See Directory.systemTemp and Directory.createTempSync. If prefix is missing or null, the empty string is used for prefix.

Implementation

static FilePath createSystemTemp([String? prefix]) {
  return FilePath(Directory.systemTemp.createTempSync(prefix));
}