base64 转存文件
static Future<File> base64DecodeFile(String base64Str, File file) async { List<int> bytes = base64.decode(base64Str); return await file.writeAsBytes(bytes); }