获取下载目录(Android不支持)
示例代码:
Directory? dir = await PPath.appDownloadDir(); // 返回下载目录对象
static Future<Directory?> appDownloadDir() async { return await getDownloadsDirectory(); }