downloadCacheDirectory property

Future<Directory> downloadCacheDirectory

Return the download/cache content directory.

See: https://developer.android.com/reference/android/os/Environment#getDownloadCacheDirectory()

Implementation

static Future<Directory> get downloadCacheDirectory async {
  assert(_platform.isAndroid);
  return Directory(
      await _channel.invokeMethod('getDownloadCacheDirectory') as String);
}