cacheDir property

Future<Directory> cacheDir

Returns the absolute path to the application specific cache directory on the filesystem.

See: https://developer.android.com/reference/android/content/Context.html#getCacheDir()

Implementation

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