appDocumentDir static method

Future<Directory> appDocumentDir()

获取应用文档目录 使用示例 void example() { PPath.appDocumentDir(); }

Implementation

static Future<Directory> appDocumentDir() async {
  return await getApplicationDocumentsDirectory();
}