Get the cache directory path.
static Future<Directory> getCachePath() async { final path = await channel.invokeMethod('getCachePath'); return Directory(path); }