getTemporaryDirectoryPath static method

Future<String> getTemporaryDirectoryPath()

获取临时目录路径

Implementation

static Future<String> getTemporaryDirectoryPath() async {
  final Directory tempDir = await getTemporaryDirectory();
  return tempDir.path;
}