getTempPath static method

String getTempPath([
  1. String prefix = 'endaft'
])

Creates a temporary Directory under the system temporary directory and returns the absolute path to it.

Implementation

static String getTempPath([String prefix = 'endaft']) {
  return Directory.systemTemp.createTempSync(prefix).path;
}