getLocalTemporaryDir method
获取本地临时文件路径
Implementation
Future<String?> getLocalTemporaryDir() async {
try {
final Directory tempDir = await getTemporaryDirectory();
return tempDir.path;
} catch (e) {
logger.e(tag: TAG, e);
return null;
}
}