getPhoneDocumentsPath static method
获取手机本地路径
Implementation
static Future<String> getPhoneDocumentsPath() async {
final directory = Platform.isAndroid
? await getExternalStorageDirectory()
: await getApplicationDocumentsDirectory();
return directory!.path;
}