codeCacheDir property

Future<Directory> codeCacheDir

Returns the absolute path to the application specific cache directory on the filesystem designed for storing cached code.

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

Implementation

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