getCachePath static method

Future<String> getCachePath()

获取app缓存路径

Implementation

static Future<String> getCachePath() async {
  final directory = await getTemporaryDirectory();
  return directory.path;
}