tempDirPath property

Future<String> get tempDirPath

Implementation

Future<String> get tempDirPath async{
  final tempDir = await getTemporaryDirectory();
  final path = p.join(tempDir.path, 'f_cache');
  final dir = Directory(path);
  if(!await dir.exists()){
    await dir.create();
  }
  return path;
}