getTempPath static method
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;
}